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.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/yaws/yaws.service b/community/yaws/yaws.service
new file mode 100644
index 000000000..7e2ced32d
--- /dev/null
+++ b/community/yaws/yaws.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A fast lightweight webserver.
+After=syslog.target network.target
+
+[Service]
+Type=forking
+GuessMainPID=no
+ExecStart=/usr/bin/yaws --daemon --heart
+ExecReload=/usr/bin/yaws --hup
+ExecStop=/usr/bin/yaws --stop
+
+[Install]
+WantedBy=multi-user.target