summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service
diff options
context:
space:
mode:
authorJack Mitchell <jack.mitchell@dbbroadcast.co.uk>2013-04-18 11:20:20 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-22 09:51:47 +0200
commite1a4953e29ae1d605365b895d430ad622c605059 (patch)
tree4392bd79699d4ae387cddfd77e6679ccf062c8ae /meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service
parent6b0aa8daf1bce02c9e40ae28d569132e0cac77fa (diff)
downloadmeta-openembedded-e1a4953e29ae1d605365b895d430ad622c605059.tar.gz
Hiawatha: update to 9.0, add systemd support
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service')
-rw-r--r--meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service16
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 0000000000..26cb8d03d0
--- /dev/null
+++ b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha.service
@@ -0,0 +1,16 @@
1[Unit]
2Description=Hiawatha Web Server
3After=network.target remote-fs.target nss-lookup.target
4
5[Service]
6Type=simple
7SyslogIdentifier=hiawatha
8ExecStartPre=/usr/sbin/hiawatha -k ; /usr/sbin/wigwam
9ExecStart= /usr/sbin/hiawatha -d
10TimeoutSec=10
11#(doesn't like this setting. Can't find files) PrivateTmp=true
12LimitNOFILE=infinity
13CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID
14
15[Install]
16WantedBy=multi-user.target