mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-13 18:04:31 -05:00
14 lines
378 B
Desktop File
14 lines
378 B
Desktop File
[Unit]
|
|
Description=Restart ASB service
|
|
After=watch-asb-binary-change.path
|
|
OnFailure=unit-status-email@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/systemctl restart start-asb.service
|
|
# notify upon restart to know that the service was restarted
|
|
ExecStartPost=/usr/bin/bash -c '/usr/local/bin/systemd-email.sh daniel@coblox.tech %n'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|