You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xmr-btc-swap/docs/setup/asb/systemd/asb-staging-restart.service

14 lines
396 B
INI

[Unit]
Description=Restart ASB service STAGING
After=asb-staging-watch-binary-change.path
OnFailure=unit-status-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl restart asb-staging.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