Invasive oneshot services now use spawn()
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env watchman
|
||||
# As of spark-rc 1.1.5, this script is deprecated
|
||||
|
||||
service_type='oneshot'
|
||||
|
||||
@@ -8,7 +7,7 @@ cfg_mounts+=( '/dev/pts:devpts:noexec,nosuid,gid=5,mode=0620:/dev/pts' )
|
||||
cfg_mounts+=( '/dev/mqueue:mqueue:noexec,nosuid,nodev:/dev/mqueue' )
|
||||
cfg_mounts+=( 'tmpfs:tmpfs:defaults,mode=0777:/dev/shm' )
|
||||
|
||||
start() {
|
||||
spawn() {
|
||||
for m in ${cfg_mounts[@]}; do
|
||||
fs_dev=`echo "$m" | cut -d':' -f1`
|
||||
fs_type=`echo "$m" | cut -d':' -f2`
|
||||
|
Reference in New Issue
Block a user