diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2012-08-21 05:47:22 -0700 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2012-08-21 05:47:22 -0700 |
commit | a7e3d397bad337d59519fa69eafee7ca1d83d551 (patch) | |
tree | 13957856c3125301f3967d8a2cf81c2711c33c20 /systemd | |
parent | 7f583a055c0a925c1b9dd25d7f831c5d6d9f4665 (diff) | |
parent | a9784d8967975160d56fc191d85ced94143e89de (diff) | |
download | fcgiwrap-a7e3d397bad337d59519fa69eafee7ca1d83d551.tar.xz fcgiwrap-a7e3d397bad337d59519fa69eafee7ca1d83d551.zip |
Merge pull request #7 from falconindy/systemd
add systemd unit files for installation
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/fcgiwrap.service | 11 | ||||
-rw-r--r-- | systemd/fcgiwrap.socket | 8 |
2 files changed, 19 insertions, 0 deletions
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 |