Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:Backup
bacula
1000-Fixed-soft-dependency-on-database-mysql-po...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1000-Fixed-soft-dependency-on-database-mysql-postgresql-a.patch of Package bacula
From d2aaf958c074f05788654578851f254b1ddfd3a7 Mon Sep 17 00:00:00 2001 From: Bruno Friedmann <bruno@ioda-net.ch> Date: Sun, 23 Sep 2012 11:27:20 +0200 Subject: [PATCH 1/1] Add soft dependency on the 2 main databases, comment to make if hard dependency --- bacula/platforms/systemd/bacula-dir.service.in | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bacula/platforms/systemd/bacula-dir.service.in b/bacula/platforms/systemd/bacula-dir.service.in index 9a82532..0c57167 100644 --- a/bacula/platforms/systemd/bacula-dir.service.in +++ b/bacula/platforms/systemd/bacula-dir.service.in @@ -15,10 +15,12 @@ Description=Bacula Director Daemon service Alias=bacula-dir Requires=var-run.mount nss-lookup.target network.target remote-fs.target syslog.target time-sync.target -After=var-run.mount nss-lookup.target network.target remote-fs.target syslog.target time-sync.target +After=var-run.mount nss-lookup.target network.target remote-fs.target syslog.target time-sync.target mysql.service postgresql.service # Dependency about the database -# We let administrators decide if they need it (if local db instance) +# Administrators can decide if they need it (like a local db instance) as an hard dependency +# The soft way or remote is already placed in the After line # Wants=@DEFAULT_DB_TYPE@.service + # Check if working dir exist and is a directory ConditionPathIsDirectory=@working_dir@ # Before= -- 1.7.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor