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:
@ -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
|
||||
|
Reference in New Issue
Block a user