diff options
Diffstat (limited to 'recipes-core/lighttpd/lighttpd/lighttpd.service')
-rw-r--r-- | recipes-core/lighttpd/lighttpd/lighttpd.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/lighttpd/lighttpd/lighttpd.service b/recipes-core/lighttpd/lighttpd/lighttpd.service new file mode 100644 index 0000000..535b1f4 --- /dev/null +++ b/recipes-core/lighttpd/lighttpd/lighttpd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Lightning Fast Webserver With Light System Requirements +After=network.target + +[Service] +ExecStartPre=@SBINDIR@/lighttpd -t -f @SYSCONFDIR@/lighttpd.conf +ExecStart=@SBINDIR@/lighttpd -D -f @SYSCONFDIR@/lighttpd.conf +ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |