-
Notifications
You must be signed in to change notification settings - Fork 0
/
addrwatch.service
30 lines (27 loc) · 934 Bytes
/
addrwatch.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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