diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:59 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:59 +0000 |
commit | 2856c59c736ba931b8f915b071f467dba595716b (patch) | |
tree | 6698599f4bee70e05a8804ba9c97c074fe79ad5c /bacula-dir.service | |
parent | 501bbe0d8edc80c2dc5a176b12c06c17de7b7d46 (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 |