bitbot_user.service: remove duplicated paths
setting WorkingDirectory negates the need for the full path
This commit is contained in:
parent
85198974e0
commit
b398527268
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,9 @@ After=default.target
|
||||||
# The %h will be replaced with the user home directory
|
# The %h will be replaced with the user home directory
|
||||||
# like /home/bitbot
|
# like /home/bitbot
|
||||||
WorkingDirectory=%h/bitbot
|
WorkingDirectory=%h/bitbot
|
||||||
ExecStart=/usr/bin/env python3 %h/bitbot/bitbotd
|
ExecStart=/usr/bin/env python3 bitbotd
|
||||||
ExecStop=/usr/bin/env python3 %h/bitbot/bitbotctl stop
|
ExecStop=/usr/bin/env python3 bitbotctl stop
|
||||||
ExecReload=/usr/bin/env python3 %h/bitbot/bitbotctl reload
|
ExecReload=/usr/bin/env python3 bitbotctl reload
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue