mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-07 21:58:11 -05:00
12 lines
310 B
SYSTEMD
12 lines
310 B
SYSTEMD
|
[Unit]
|
||
|
Description=Restart ASB service
|
||
|
After=watch-asb-binary-change.path
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/systemctl restart start-asb.service
|
||
|
ExecStopPost=/bin/sh -c 'if [ "$$EXIT_STATUS" -ne 0 ]; then /usr/local/bin/systemd-email.sh daniel@coblox.tech %n; fi'
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|