11 lines
171 B
Plaintext
Executable File
11 lines
171 B
Plaintext
Executable File
#!/usr/bin/env ssm
|
|
|
|
service_type='oneshot'
|
|
service_command=( /usr/bin/znet -d up )
|
|
|
|
ifaces=( 'eth0' 'warp' )
|
|
|
|
pre_stop() {
|
|
"$service_command" "${service_args[@]}" down
|
|
}
|