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