Merge pull request #22 from eduardohenriquearnold/master
Update service file to fix cleaning process when service is requested to stop
This commit is contained in:
commit
cfc9630338
@ -4,6 +4,7 @@ Description=Create AP Service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
|
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
|
||||||
|
ExecStop=pkill hostapd
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGINT
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user