mirror of
https://github.com/kakwa/uts-server
synced 2025-07-03 12:07:02 +02:00
begin implementing
This commit is contained in:
parent
3a9c92ecb2
commit
ee9828a8b6
3 changed files with 91 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
|||
int main()
|
||||
{
|
||||
skeleton_daemon();
|
||||
|
||||
while (1)
|
||||
{
|
||||
//TODO: Insert daemon code here.
|
||||
syslog (LOG_NOTICE, "First daemon started.");
|
||||
sleep (20);
|
||||
break;
|
||||
}
|
||||
|
||||
syslog (LOG_NOTICE, "First daemon terminated.");
|
||||
closelog();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue