From 714cbbd9c655332bb32d5eb6ae8303b4729e53fd Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 27 Jul 2016 21:03:01 +0200 Subject: [PATCH] Made service use a config file by default It is better to edit a config file of a package, rather than a service file. Since the script does provide config file options, we should use them. Its probably worth adding a default/sample config file. --- create_ap.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_ap.service b/create_ap.service index 4b49835..4e8b74f 100644 --- a/create_ap.service +++ b/create_ap.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/bin/create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID +ExecStart=/usr/bin/create_ap --config /etc/create_ap.conf KillSignal=SIGINT Restart=on-failure RestartSec=5