From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/yaws/yaws.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/yaws/yaws.service (limited to 'community/yaws/yaws.service') 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 -- cgit v1.2.3-54-g00ecf