commit cfc9630338f7a0547ceb7dca4fc7b06442c6e5ff
parent 104c55606f9bee4fffe3aae67603dde8818c595e
Author: oblique <psyberbits@gmail.com>
Date: Wed, 4 Jun 2014 09:49:48 +0300
Merge pull request #22 from eduardohenriquearnold/master
Update service file to fix cleaning process when service is requested to stop
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/create_ap.service b/create_ap.service
@@ -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