summaryrefslogtreecommitdiff
path: root/community/yaws/yaws.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/yaws/yaws.service')
-rw-r--r--community/yaws/yaws.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/yaws/yaws.service b/community/yaws/yaws.service
new file mode 100644
index 000000000..48f9bb8ef
--- /dev/null
+++ b/community/yaws/yaws.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A fast lightweight webserver.
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/yaws --daemon --heart
+ExecReload=/usr/bin/yaws --hup
+ExecStop=/usr/bin/yaws --stop
+
+[Install]
+WantedBy=multi-user.target