File: syncache.service

package info (click to toggle)
syncache 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: ruby: 1,536; sh: 108; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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