added systemd .service file example
This commit is contained in:
parent
984f8e7fc9
commit
a746730072
12
create_ap.service
Normal file
12
create_ap.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Create AP Service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
|
||||
KillSignal=SIGINT
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user