diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 09:33:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 09:33:50 +0000 |
commit | 35bb2fc64ca03089fe8332782cda142ee7fb4c76 (patch) | |
tree | 6698599f4bee70e05a8804ba9c97c074fe79ad5c /bacula-dir.service | |
parent | 15a05faa489cf923736ad4c2a939c232a701cd39 (diff) |
automatic import of baculaopeneuler24.03_LTS
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 |