mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 08:24:05 +02:00
dont use sudo
This commit is contained in:
parent
44290b751e
commit
c7b72a0c9f
@ -4,7 +4,7 @@ SERVICE=h4_backend.service
|
||||
|
||||
set -xe
|
||||
|
||||
sudo cp deploy/$SERVICE /etc/systemd/system/$SERVICE
|
||||
cp deploy/$SERVICE /etc/systemd/system/$SERVICE
|
||||
systemctl daemon-reload
|
||||
|
||||
systemctl enable $SERVICE
|
||||
|
@ -9,7 +9,7 @@ systemctl stop $SERVICE
|
||||
systemctl disable $SERVICE
|
||||
set -e
|
||||
|
||||
sudo rm -rf /etc/systemd/system/$SERVICE
|
||||
rm -rf /etc/systemd/system/$SERVICE
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user