/lib/systemd/system/pacemaker_remote.service is in pacemaker-remote 1.1.16-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | [Unit]
Description=Pacemaker Remote Service
Documentation=man:pacemaker_remoted http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Remote/index.html
After=network.target
After=time-sync.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
KillMode=process
NotifyAccess=none
EnvironmentFile=-/etc/default/pacemaker
EnvironmentFile=-/etc/default/sbd
ExecStart=/usr/sbin/pacemaker_remoted
# Pacemaker Remote can exit only after all managed services have shut down;
# an HA database could conceivably take even longer than this
TimeoutStopSec=30min
TimeoutStartSec=30s
# Restart options include: no, on-success, on-failure, on-abort or always
Restart=on-failure
# crm_perror() writes directly to stderr, so ignore it here
# to avoid double-logging with the wrong format
StandardError=null
|