diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service')
-rw-r--r-- | meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service new file mode 100644 index 000000000..26cb8d03d --- /dev/null +++ b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service | |||
@@ -0,0 +1,16 @@ | |||
1 | [Unit] | ||
2 | Description=Hiawatha Web Server | ||
3 | After=network.target remote-fs.target nss-lookup.target | ||
4 | |||
5 | [Service] | ||
6 | Type=simple | ||
7 | SyslogIdentifier=hiawatha | ||
8 | ExecStartPre=/usr/sbin/hiawatha -k ; /usr/sbin/wigwam | ||
9 | ExecStart= /usr/sbin/hiawatha -d | ||
10 | TimeoutSec=10 | ||
11 | #(doesn't like this setting. Can't find files) PrivateTmp=true | ||
12 | LimitNOFILE=infinity | ||
13 | CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID | ||
14 | |||
15 | [Install] | ||
16 | WantedBy=multi-user.target | ||