File: pcsd-ruby.service.in

package info (click to toggle)
pcs 0.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,148 kB
  • sloc: python: 238,810; xml: 20,833; ruby: 13,203; makefile: 1,595; sh: 484
file content (24 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=PCS GUI and remote configuration interface (Ruby)
Documentation=man:pcsd(8)
Documentation=man:pcs(8)
Requires=network-online.target
After=network-online.target
# Stop the service automatically if nothing that depends on it is running
StopWhenUnneeded=true
# When stopping or restarting pcsd, stop or restart pcsd-ruby as well
PartOf=pcsd.service

[Service]
EnvironmentFile=@CONF_DIR@/pcsd
@SYSTEMD_GEM_HOME@
# This file holds the selinux context
ExecStart=@LIB_DIR@/pcsd/pcsd
StateDirectory=pcsd
StateDirectoryMode=0700
LogsDirectory=pcsd
LogsDirectoryMode=0700
Type=notify

[Install]
WantedBy=multi-user.target