You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
363 B

#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
NAME=podman
PROG=/usr/bin/podman
start_service() {
[ -d /run/podman ] || mkdir -p /run/podman
procd_open_instance "podman"
procd_set_param command "$PROG" system service --time=0
procd_append_param command $command
procd_close_instance
}
shutdown() {
${PROG} pod stop -a
${PROG} container stop -a
}