We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98c2a7c + 4afd67f commit 3a5766dCopy full SHA for 3a5766d
installers/common.sh
@@ -544,7 +544,9 @@ function _install_restapi() {
544
545
fi
546
python3 -m pip install -r "$raspap_dir/api/requirements.txt" --break-system-packages || _install_status 1 " Unable to install pip modules"
547
-
+
548
+ echo "Setting permissions on restapi systemd unit control file"
549
+ sudo chown -c root:root $webroot_dir/installers/restapi.service || _install_status 1 "Unable change owner and/or group"
550
echo "Moving restapi systemd unit control file to /lib/systemd/system/"
551
sudo mv $webroot_dir/installers/restapi.service /lib/systemd/system/ || _install_status 1 "Unable to move restapi.service file"
552
sudo systemctl daemon-reload
0 commit comments