From 2856c59c736ba931b8f915b071f467dba595716b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 01:37:59 +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