From 35bb2fc64ca03089fe8332782cda142ee7fb4c76 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 09:33:50 +0000 Subject: automatic import of bacula --- bacula-sd.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bacula-sd.service (limited to 'bacula-sd.service') diff --git a/bacula-sd.service b/bacula-sd.service new file mode 100644 index 0000000..e05e94b --- /dev/null +++ b/bacula-sd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Bacula Storage Daemon +Documentation=man:bacula-sd(8) +After=network.target nss-lookup.target + +[Service] +Environment=CONFIG=/etc/bacula/bacula-sd.conf +EnvironmentFile=-/etc/sysconfig/bacula-sd +ExecStart=/usr/sbin/bacula-sd -f $OPTS -c $CONFIG -u $SD_USER -g $SD_GROUP +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3