0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-14 13:48:04 +00:00
packages/utils/pservice/files/pservice.config
Yousong Zhou d58a81f35c pservice: initial version
The can be convenient for running commands or services as procd services
without needing to separately write initscripts, just uci configuration.

The package was imported from [1].

 [1] 0a85f5c75f/pservice

Ref: https://github.com/yousong/waller/issues/1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-06 10:09:58 +08:00

25 lines
525 B
Plaintext

config pservice
option disabled 1
option name 'demo0'
option command /bin/sh
option respawn_maxfail 0
list args -c
list args 'env | logger -t $name; exec sleep $time'
list env 'v0=0'
list env 'v1=val with space'
list env 'name=demo0'
list env 'time=1799'
list file /tmp/sleep.conf
config pservice
option disabled 1
option name 8021x
option command /usr/sbin/wpa_supplicant
option stdout 1
list args -i
list args eth0.1
list args -D
list args wired
list args -c
list args /etc/wpa_supplicant-eth0.1.conf