mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
26 lines
777 B
Desktop File
26 lines
777 B
Desktop File
### BEGIN INIT INFO
|
|
# Provides: /etc/raspap/hostapd/servicestart
|
|
# Required-Start: $remote_fs $syslog
|
|
# Required-Stop: $remote_fs $syslog
|
|
# Default-Start: 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
|
|
|
|
[Unit]
|
|
Description=RaspAP Service Daemon
|
|
DefaultDependencies=no
|
|
After=systemd-sysctl.service
|
|
Before=sysinit.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
|
|
|