summaryrefslogtreecommitdiff
path: root/contrib/suse
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2013-09-28 22:50:32 +0000
committerChris Wilson <chris+github@qwirx.com>2013-09-28 22:50:32 +0000
commit98d34c07cd5969d5250159a87856a58cdc00f18e (patch)
tree9913ad8532f5005a8c8d4888068f7f2cdfeb5f13 /contrib/suse
parentf65a58a02d90a75cb08d05e5575867bebb7cb784 (diff)
Add systemd initscript/configuration by Daniel Tihelka <dtihelka@gmail.com>
Diffstat (limited to 'contrib/suse')
-rw-r--r--contrib/suse/bbstored.service26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/suse/bbstored.service b/contrib/suse/bbstored.service
new file mode 100644
index 00000000..55c03ddc
--- /dev/null
+++ b/contrib/suse/bbstored.service
@@ -0,0 +1,26 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# Server daemon for the BoxBackup software, to which bbackupd clients
+# connect.
+#
+# Systemd configuration by Daniel Tihelka <dtihelka at gmail.com>
+
+
+[Unit]
+Description=BoxBackup server side daemon
+After=local-fs.target
+#After=network
+
+[Service]
+ExecStart=/usr/sbin/bbstored -FK
+ExecReload=/bin/kill -HUP $MAINPID
+User=box
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target