1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-03 12:07:02 +02:00

begin implementing

This commit is contained in:
Pierre-Francois Carpentier 2015-12-17 14:09:44 +01:00
parent 3a9c92ecb2
commit ee9828a8b6
3 changed files with 91 additions and 0 deletions

View file

@ -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;
}