bitbot_user.service: remove duplicated paths

setting WorkingDirectory negates the need for the full path
This commit is contained in:
Ben Harris 2020-07-10 11:53:49 -04:00
parent 85198974e0
commit b398527268

View file

@ -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]