1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh #/lib/systemd/system-sleep/ceph case $1 in pre) /bin/systemctl stop ceph ;; post) /bin/systemctl start ceph ;; esac