forked from Spark/ssm-services
15 lines
245 B
Plaintext
15 lines
245 B
Plaintext
|
#!/usr/bin/env watchman
|
||
|
|
||
|
vdevd_dev='/dev'
|
||
|
vdevd_rundir='/run/vdev'
|
||
|
|
||
|
#service_respawn='true'
|
||
|
service_command='/usr/bin/vdevd'
|
||
|
service_args="-f $vdevd_dev"
|
||
|
|
||
|
start() {
|
||
|
mkdir -p "$vdevd_rundir"
|
||
|
"$service_command" -1 "$vdevd_dev"
|
||
|
watchman.start
|
||
|
}
|