Simon Volpert addrwatch / master addrwatch.service
master

Tree @master (Download .tar.gz)

addrwatch.service @masterraw · history · blame

# addrwatch systemctl unit file
#
# To use as a system unit:
# 1. Place this file in /etc/systemd/system/
# 2. Edit "WorkingDirectory=" to point to where addrwatch.cfg is located
# --OR--
# 2. Comment out "WorkingDirectory=" and add the path to addrwatch.cfg to the end of "ExecStart="
#
# To use as a user unit:
# 1. Place this file in $HOME/.config/systemd/user/
# 2. Edit "WorkingDirectory=" to point to where addrwatch.cfg is located
# --OR--
# 2. Comment "WorkingDirectory=" out entirely and name the config file ".addrwatch.cfg"
# --OR--
# 2. Comment out "WorkingDirectory=" and add the path to addrwatch.cfg to the end of "ExecStart="
#
# Once you are done, run "systemctl daemon-reload", "systemctl enable" and
# "systemctl start" as usual.

[Unit]
Description=Bitcoin Cash Address Watch
After=network.target

[Service]
Type=simple
ExecStart=/PATH/TO/addrwatch
WorkingDirectory=/PATH/TO/

[Install]
WantedBy=multi-user.target