| 1 |
# This file is part of Booth. |
| 2 |
|
| 3 |
[Unit] |
| 4 |
Description=Booth - Ticket Manager for Pacemaker Clusters |
| 5 |
Documentation=man:boothd(8) |
| 6 |
After=network-online.target |
| 7 |
ConditionFileNotEmpty=/etc/booth/booth.conf |
| 8 |
Conflicts=pacemaker.service |
| 9 |
|
| 10 |
[Install] |
| 11 |
WantedBy=multi-user.target |
| 12 |
|
| 13 |
[Service] |
| 14 |
Type=simple |
| 15 |
@NOTIFY_ACCESS_SWITCH@NotifyAccess=main |
| 16 |
ExecStart=/usr/sbin/boothd daemon -S -c /etc/booth/booth.conf |
| 17 |
|
| 18 |
# Restart options include: no, on-success, on-failure, on-abnormal, on-watchdog, on-abort, or always |
| 19 |
Restart=on-failure |