WIP: raspap.service changes

This commit is contained in:
billz
2020-03-22 09:06:23 +00:00
parent 26a28a0123
commit d799fc1de0
2 changed files with 4 additions and 3 deletions

View File

@@ -282,7 +282,7 @@ function default_configuration() {
function enable_raspap_daemon() {
install_log "Enabling RaspAP daemon"
echo "Disable with: sudo systemctl disable raspap.service"
sudo cp $webroot_dir/installers/raspap.service /etc/systemd/system/ || install_error "Unable to move raspap.service file"
sudo cp $webroot_dir/installers/raspap.service /lib/systemd/system/ || install_error "Unable to move raspap.service file"
sudo systemctl daemon-reload
sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service"
}