aboutsummaryrefslogtreecommitdiff
path: root/cmd/service/enable.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/service/enable.c')
-rw-r--r--cmd/service/enable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/service/enable.c b/cmd/service/enable.c
index 67cf0aa..8734aec 100644
--- a/cmd/service/enable.c
+++ b/cmd/service/enable.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <signal.h>
#include <stdio.h>
#include <errno.h>
@@ -60,6 +61,8 @@ static int cmd_enable(int argc, char **argv)
goto out;
}
+ kill(1, SIGHUP);
+
ret = EXIT_SUCCESS;
out:
free(linkname);