mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
WIP: raspap.service changes
This commit is contained in:
parent
26a28a0123
commit
d799fc1de0
@ -282,7 +282,7 @@ function default_configuration() {
|
|||||||
function enable_raspap_daemon() {
|
function enable_raspap_daemon() {
|
||||||
install_log "Enabling RaspAP daemon"
|
install_log "Enabling RaspAP daemon"
|
||||||
echo "Disable with: sudo systemctl disable raspap.service"
|
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 daemon-reload
|
||||||
sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service"
|
sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service"
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,12 @@
|
|||||||
# Provides: raspapd
|
# Provides: raspapd
|
||||||
# Required-Start: $remote_fs $syslog
|
# Required-Start: $remote_fs $syslog
|
||||||
# Required-Stop: $remote_fs $syslog
|
# Required-Stop: $remote_fs $syslog
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: S 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: Start RaspAP daemon at boot time
|
# Short-Description: Start RaspAP daemon at boot time
|
||||||
# Description: Enable service provided by daemon.
|
# Description: Enable service provided by daemon
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
# Author: BillZ <billzimmerman@gmail.com>
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=RaspAP Service Daemon
|
Description=RaspAP Service Daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user