2017-06-10 06:38:04 +00:00
|
|
|
[Unit]
|
2017-10-20 04:19:32 +00:00
|
|
|
Description=Anvil! Intelligent Availability Platform - main service daemon
|
2017-06-10 06:38:04 +00:00
|
|
|
Wants=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2021-06-28 08:43:33 +00:00
|
|
|
ExecStartPre=-/bin/sh -c "if [ -f /usr/sbin/akmods ]; then /usr/sbin/modprobe drbd || /usr/sbin/akmods --force; fi"
|
2018-03-07 08:11:55 +00:00
|
|
|
ExecStart=/usr/sbin/anvil-daemon
|
2017-06-10 06:38:04 +00:00
|
|
|
ExecStop=/bin/kill -WINCH ${MAINPID}
|
2017-06-10 06:54:28 +00:00
|
|
|
Restart=always
|
2017-06-10 06:38:04 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|