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.
This commit is contained in:
Nico
2016-07-27 21:03:01 +02:00
committed by GitHub
parent a7fa8b5880
commit 714cbbd9c6

View File

@ -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