diff options
Diffstat (limited to 'meta/recipes-extended/lighttpd/files/lighttpd.service')
-rw-r--r-- | meta/recipes-extended/lighttpd/files/lighttpd.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/lighttpd/files/lighttpd.service b/meta/recipes-extended/lighttpd/files/lighttpd.service new file mode 100644 index 0000000000..66a907aa17 --- /dev/null +++ b/meta/recipes-extended/lighttpd/files/lighttpd.service | |||
@@ -0,0 +1,12 @@ | |||
1 | [Unit] | ||
2 | Description=Lightning Fast Webserver With Light System Requirements | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | ExecStartPre=@SBINDIR@/lighttpd -t -f @SYSCONFDIR@/lighttpd.conf | ||
7 | ExecStart=@SBINDIR@/lighttpd -D -f @SYSCONFDIR@/lighttpd.conf | ||
8 | ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=multi-user.target | ||
12 | |||