diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-26 14:29:16 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-09-03 15:16:39 +0000 |
commit | 83fd25f7db646075149ef5085c1942f9fc8bc752 (patch) | |
tree | 5130826a5c0071f8a70f3bd050789aed3952816e /main/wpa_supplicant/wpa_cli.initd | |
parent | ea2d0c08d7182fc9d20a87d940e5d6a9fbc46a10 (diff) | |
download | aports-83fd25f7db646075149ef5085c1942f9fc8bc752.tar.bz2 aports-83fd25f7db646075149ef5085c1942f9fc8bc752.tar.xz |
main/wpa_supplicant: use supervise-daemon
Diffstat (limited to 'main/wpa_supplicant/wpa_cli.initd')
-rw-r--r--[-rwxr-xr-x] | main/wpa_supplicant/wpa_cli.initd | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/wpa_supplicant/wpa_cli.initd b/main/wpa_supplicant/wpa_cli.initd index e9139c02b1..f5a25a8896 100755..100644 --- a/main/wpa_supplicant/wpa_cli.initd +++ b/main/wpa_supplicant/wpa_cli.initd @@ -1,8 +1,12 @@ #!/sbin/openrc-run -command="/sbin/wpa_cli" -pidfile="/var/run/${SVCNAME}.pid" -command_args="${WPACLI_OPTS} -B -P ${pidfile} >/dev/null" +supervisor=supervise-daemon + +name="WPA Command Line Client" +description="Text-based frontend for interacting with WPA Supplicant" + +command=/sbin/wpa_cli +command_args="${WPACLI_OPTS} >/dev/null" depend() { need wpa_supplicant |