From a9784d8967975160d56fc191d85ced94143e89de Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 21 Aug 2012 08:13:52 -0400 Subject: add systemd unit files for installation These are automatically installed iff systemd support is compiled into fcgiwrap. --- systemd/fcgiwrap.service | 11 +++++++++++ systemd/fcgiwrap.socket | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 systemd/fcgiwrap.service create mode 100644 systemd/fcgiwrap.socket (limited to 'systemd') diff --git a/systemd/fcgiwrap.service b/systemd/fcgiwrap.service new file mode 100644 index 0000000..7b010c9 --- /dev/null +++ b/systemd/fcgiwrap.service @@ -0,0 +1,11 @@ +[Unit] +Description=Simple CGI Server +After=nss-user-lookup.target + +[Service] +ExecStart=/usr/sbin/fcgiwrap +User=http +Group=http + +[Install] +Also=fcgiwrap.socket diff --git a/systemd/fcgiwrap.socket b/systemd/fcgiwrap.socket new file mode 100644 index 0000000..dc074f1 --- /dev/null +++ b/systemd/fcgiwrap.socket @@ -0,0 +1,8 @@ +[Unit] +Description=fcgiwrap Socket + +[Socket] +ListenStream=/run/fcgiwrap.sock + +[Install] +WantedBy=sockets.target -- cgit v1.2.3