mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Rename raspap.service to raspapd.service
This commit is contained in:
26
installers/raspapd.service
Normal file
26
installers/raspapd.service
Normal file
@@ -0,0 +1,26 @@
|
||||
### BEGIN INIT INFO
|
||||
# Provides: raspapd
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: S 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start RaspAP daemon at boot time
|
||||
# Description: Enable service provided by daemon
|
||||
### END INIT INFO
|
||||
# Author: BillZ <billzimmerman@gmail.com>
|
||||
|
||||
[Unit]
|
||||
Description=RaspAP Service Daemon
|
||||
DefaultDependencies=no
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
|
||||
ExecReload=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
|
||||
ExecStop=/bin/bash /etc/raspap/hostapd/servicestart.sh --action stop
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user