From b4a3acf23fb992d9e8fb7a3bb5a415bc535c1f9b Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sun, 11 Nov 2012 12:26:05 +0100 Subject: [PATCH] the systemd service file actually added --- lighttpd.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lighttpd.service diff --git a/lighttpd.service b/lighttpd.service new file mode 100644 index 0000000..6f4dce9 --- /dev/null +++ b/lighttpd.service @@ -0,0 +1,12 @@ +[Unit] +Description=Lighttpd Daemon +After=network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/lighttpd +ExecStartPre=/usr/sbin/lighttpd-angel -t -f /etc/lighttpd/lighttpd.conf +ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target -- 2.44.0