mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
systemd service files owned by root
This commit is contained in:
parent
7ce5ef6651
commit
86e95485c2
@ -188,6 +188,7 @@ WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
sudo mv /home/admin/lnbits.service /etc/systemd/system/lnbits.service
|
||||
sudo chown root:root /etc/systemd/system/lnbits.service
|
||||
sudo systemctl enable lnbits
|
||||
echo "# OK - service needs starting: sudo systemctl start lnbits"
|
||||
|
||||
|
@ -183,6 +183,7 @@ EOF
|
||||
|
||||
sudo mv /home/admin/RTL.service /etc/systemd/system/RTL.service
|
||||
sudo sed -i "s|chain/bitcoin/mainnet|chain/${network}/${chain}net|" /etc/systemd/system/RTL.service
|
||||
sudo chown root:root /etc/systemd/system/RTL.service
|
||||
sudo systemctl enable RTL
|
||||
echo "OK - the RTL service is now enabled"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user