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-dir.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bacula-dir.service (limited to 'bacula-dir.service') diff --git a/bacula-dir.service b/bacula-dir.service new file mode 100644 index 0000000..f7bd48e --- /dev/null +++ b/bacula-dir.service @@ -0,0 +1,13 @@ +[Unit] +Description=Bacula Director +Documentation=man:bacula-dir(8) +After=network.target nss-lookup.target + +[Service] +Environment=CONFIG=/etc/bacula/bacula-dir.conf +EnvironmentFile=-/etc/sysconfig/bacula-dir +ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG -u $DIR_USER -g $DIR_GROUP +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3