changed sudo to sudo -i
This commit is contained in:
parent
4110902c99
commit
a9da9763c5
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
# This script can be run to update or newly install
|
# This script can be run to update or newly install
|
||||||
# the systemd services needed for
|
# the systemd services needed for
|
||||||
|
sudo -i
|
||||||
|
cat systemd/plenumbot.service > /etc/systemd/system/plenumsbot.service
|
||||||
|
cat systemd/plenumbot.timer > /etc/systemd/system/plenumsbot.timer
|
||||||
|
chmod 755 /etc/systemd/system/plenumsbot.timer
|
||||||
|
chmod 755 /etc/systemd/system/plenumsbot.service
|
||||||
|
|
||||||
sudo cat systemd/plenumbot.service > /etc/systemd/system/plenumsbot.service
|
systemctl daemon-reload
|
||||||
sudo cat systemd/plenumbot.timer > /etc/systemd/system/plenumsbot.timer
|
|
||||||
sudo chmod 755 /etc/systemd/system/plenumsbot.timer
|
|
||||||
sudo chmod 755 /etc/systemd/system/plenumsbot.service
|
|
||||||
|
|
||||||
sudo systemctl daemon-reload
|
|
Loading…
Reference in a new issue