diff options
author | Marcin Wieczorek | 2016-09-18 19:51:24 +0200 |
---|---|---|
committer | Marcin Wieczorek | 2016-09-18 19:51:24 +0200 |
commit | d39c7eaa6a23c456cf3236c0bf70ec4ef9ffda3c (patch) | |
tree | e7b6aa3b0d68891db5b456360e2014df01042e27 /bacula-dir.service | |
parent | 68731d14759e1c9e1131b1c6d37c110660de91d7 (diff) | |
download | aur-d39c7eaa6a23c456cf3236c0bf70ec4ef9ffda3c.tar.gz |
Release 7.4.3-1
Diffstat (limited to 'bacula-dir.service')
-rw-r--r-- | bacula-dir.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bacula-dir.service b/bacula-dir.service new file mode 100644 index 000000000000..9f0761926cc1 --- /dev/null +++ b/bacula-dir.service @@ -0,0 +1,24 @@ +# +# Bacula Director Daemon service +# + +[Unit] +Description=Bacula Director +Alias=bacula-dir +Requires=network.target +After=network.target remote-fs.target syslog.target +# Dependency about the database +# We let administrators decide if they need it (if local db instance) +#Wants=sqlite3.service +# Check if working dir exist and is a directory +ConditionPathIsDirectory=/var/lib/bacula + +[Service] +Type=forking +Restart=always +PIDFile=/run/bacula-dir.9101.pid +# EnvironmentFile=-/etc/sysconfig/bacula-dir +ExecStart=/usr/bin/bacula-dir -c /etc/bacula/bacula-dir.conf + +[Install] +WantedBy=multi-user.target |