summaryrefslogtreecommitdiffstats
path: root/debian/lib-systemd/system-sleep/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lib-systemd/system-sleep/ceph')
-rwxr-xr-xdebian/lib-systemd/system-sleep/ceph12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/lib-systemd/system-sleep/ceph b/debian/lib-systemd/system-sleep/ceph
new file mode 100755
index 000000000..cf62f8321
--- /dev/null
+++ b/debian/lib-systemd/system-sleep/ceph
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+#/lib/systemd/system-sleep/ceph
+
+case $1 in
+pre)
+ /bin/systemctl stop ceph
+;;
+post)
+ /bin/systemctl start ceph
+;;
+esac