[DRE-commits] [syncache] 01/01: debian/syncache.service: systemd service file

Dmitry Borodaenko angdraug at moszumanska.debian.org
Mon Feb 15 21:18:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

angdraug pushed a commit to branch master
in repository syncache.

commit 01c7e932e8ac7dd40e9472d6ef0a0d3c85ce8b3a
Author: Dmitry Borodaenko <angdraug at gmail.com>
Date:   Mon Feb 15 12:40:10 2016 -0800

    debian/syncache.service: systemd service file
---
 debian/syncache.service | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/syncache.service b/debian/syncache.service
new file mode 100644
index 0000000..43f5ee5
--- /dev/null
+++ b/debian/syncache.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=SynCache dRuby object cache server
+Documentation=man:syncache-drb
+After=network.target
+Before=apache2.service lighttpd.service nginx.service
+
+[Service]
+Type=forking
+PIDFile=/run/syncache/syncache.pid
+ExecStartPre=/usr/bin/install -o syncache -g syncache -m 755 -d /run/syncache
+ExecStart=/usr/bin/syncache-drb --pidfile /run/syncache/syncache.pid --user syncache --flush-delay 5
+ExecReload=/bin/kill -HUP $MAINPID
+EnvironmentFile=-/etc/default/syncache
+
+[Install]
+WantedBy=multi-user.target

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/syncache.git



More information about the Pkg-ruby-extras-commits mailing list