diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-04 10:20:24 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-04 10:20:24 -0400 |
commit | 58b80704effdff1d387c9bdc8b0a8e783b23690e (patch) | |
tree | 3d972ecc58520f3ce52cbe5ab890cbaeb0a9782f /pullreqd.c | |
parent | 0ec73fc148769b727b1c64abdb4a914a3e1d9ef8 (diff) |
Added the main function.
Diffstat (limited to 'pullreqd.c')
-rw-r--r-- | pullreqd.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -62,3 +62,16 @@ void init_daemon(int change_dir, char *path) { /* Open the logfile. */ openlog("pullreqd", LOG_PID, LOG_DAEMON); } + +int main(int argc, char **argv) { + init_daemon(); + syslog(LOG_NOTICE, "pullreqd started."); + for (;;) { + break; + } + syslog(LOG_NOTICE, "pullreqd stopped."); + + closelog(); + + return EXIT_SUCCESS; +} |