pandora.service 307 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. [Unit]
  4. Description=Pandora module - shutdown ram cleaner
  5. After=umountroot.target
  6. Before=shutdown.target reboot.target halt.target
  7. DefaultDependencies=no
  8. [Service]
  9. Type=oneshot
  10. RemainAfterExit=true
  11. ExecStart=/bin/true
  12. ExecStop=/etc/init.d/pandora stop
  13. [Install]
  14. WantedBy=shutdown.target