From 98d34c07cd5969d5250159a87856a58cdc00f18e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 28 Sep 2013 22:50:32 +0000 Subject: Add systemd initscript/configuration by Daniel Tihelka --- contrib/suse/bbstored.service | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 contrib/suse/bbstored.service (limited to 'contrib/suse') 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 + + +[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 -- cgit v1.2.3