Redundant user/group in systemd. Already in sysconfig.

This commit is contained in:
Simone Caronni 2011-12-05 12:34:08 +01:00
parent 1adcaf09d0
commit 6872dfc864
4 changed files with 3 additions and 6 deletions

View File

@ -5,8 +5,6 @@ After=network.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-dir.conf
Environment=DIR_USER=bacula
Environment=DIR_GROUP=bacula
EnvironmentFile=-/etc/sysconfig/bacula-dir
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-dir -f -c $CONFIG -u $DIR_USER -g $DIR_GROUP

View File

@ -5,8 +5,6 @@ After=network.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-fd.conf
Environment=FD_USER=root
Environment=FD_GROUP=root
EnvironmentFile=-/etc/sysconfig/bacula-fd
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-fd -f -c $CONFIG -u $FD_USER -g $FD_GROUP

View File

@ -5,8 +5,6 @@ After=network.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-sd.conf
Environment=SD_USER=bacula
Environment=SD_GROUP=disk
EnvironmentFile=-/etc/sysconfig/bacula-sd
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-sd -f -c $CONFIG -u $SD_USER -g $SD_GROUP

View File

@ -818,6 +818,9 @@ fi
%changelog
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5
- Remove redundant user/group in service files.
* Thu Dec 02 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-4
- Rename storage-common to storage and make it provide storage-common.
- Move bscan to director-common.