summaryrefslogtreecommitdiffstats
path: root/data/systemd/shopsystem-mail-backup.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/systemd/shopsystem-mail-backup.service.in')
-rw-r--r--data/systemd/shopsystem-mail-backup.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/systemd/shopsystem-mail-backup.service.in b/data/systemd/shopsystem-mail-backup.service.in
new file mode 100644
index 0000000..1f55a17
--- /dev/null
+++ b/data/systemd/shopsystem-mail-backup.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=Send shopsystem backup mail
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+User=shop
+Group=shop
+ExecStart=@PATH@/shop-backup
+IOSchedulingClass=idle