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

  1. #!/bin/sh /etc/rc.common
  2. START=99
  3. STOP=10
  4. USE_PROCD=1
  5. NAME=podman
  6. PROG=/usr/bin/podman
  7. start_service() {
  8. [ -d /run/podman ] || mkdir -p /run/podman
  9. procd_open_instance "podman"
  10. procd_set_param command "$PROG" system service --time=0
  11. procd_append_param command $command
  12. procd_close_instance
  13. }
  14. shutdown() {
  15. ${PROG} pod stop -a
  16. ${PROG} container stop -a
  17. }