diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:01:59 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:01:59 +0000 |
commit | 6d23b443cf3a969b0d95d6d279cad1c6c99c9ca8 (patch) | |
tree | 6698599f4bee70e05a8804ba9c97c074fe79ad5c /bacula-dir.service | |
parent | e3f3133899f9de6df6fd0be1accc9d925b04ae17 (diff) |
automatic import of baculaopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'bacula-dir.service')
-rw-r--r-- | bacula-dir.service | 13 |
1 files changed, 13 insertions, 0 deletions
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 |