summaryrefslogtreecommitdiff
path: root/pullreqd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pullreqd.c')
-rw-r--r--pullreqd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/pullreqd.c b/pullreqd.c
index cb6d680..9bb77e7 100644
--- a/pullreqd.c
+++ b/pullreqd.c
@@ -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;
+}