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:
oblique 2014-06-04 09:49:48 +03:00
commit cfc9630338

View File

@ -4,6 +4,7 @@ Description=Create AP Service
[Service]
Type=simple
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
ExecStop=pkill hostapd
KillSignal=SIGINT
Restart=on-failure
RestartSec=5