Redundant user/group in systemd. Already in sysconfig.
This commit is contained in:
parent
1adcaf09d0
commit
6872dfc864
@ -5,8 +5,6 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=CONFIG=/etc/bacula/bacula-dir.conf
|
Environment=CONFIG=/etc/bacula/bacula-dir.conf
|
||||||
Environment=DIR_USER=bacula
|
|
||||||
Environment=DIR_GROUP=bacula
|
|
||||||
EnvironmentFile=-/etc/sysconfig/bacula-dir
|
EnvironmentFile=-/etc/sysconfig/bacula-dir
|
||||||
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
||||||
ExecStart=/usr/sbin/bacula-dir -f -c $CONFIG -u $DIR_USER -g $DIR_GROUP
|
ExecStart=/usr/sbin/bacula-dir -f -c $CONFIG -u $DIR_USER -g $DIR_GROUP
|
||||||
|
@ -5,8 +5,6 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=CONFIG=/etc/bacula/bacula-fd.conf
|
Environment=CONFIG=/etc/bacula/bacula-fd.conf
|
||||||
Environment=FD_USER=root
|
|
||||||
Environment=FD_GROUP=root
|
|
||||||
EnvironmentFile=-/etc/sysconfig/bacula-fd
|
EnvironmentFile=-/etc/sysconfig/bacula-fd
|
||||||
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
||||||
ExecStart=/usr/sbin/bacula-fd -f -c $CONFIG -u $FD_USER -g $FD_GROUP
|
ExecStart=/usr/sbin/bacula-fd -f -c $CONFIG -u $FD_USER -g $FD_GROUP
|
||||||
|
@ -5,8 +5,6 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=CONFIG=/etc/bacula/bacula-sd.conf
|
Environment=CONFIG=/etc/bacula/bacula-sd.conf
|
||||||
Environment=SD_USER=bacula
|
|
||||||
Environment=SD_GROUP=disk
|
|
||||||
EnvironmentFile=-/etc/sysconfig/bacula-sd
|
EnvironmentFile=-/etc/sysconfig/bacula-sd
|
||||||
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
||||||
ExecStart=/usr/sbin/bacula-sd -f -c $CONFIG -u $SD_USER -g $SD_GROUP
|
ExecStart=/usr/sbin/bacula-sd -f -c $CONFIG -u $SD_USER -g $SD_GROUP
|
||||||
|
@ -818,6 +818,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 02 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-4
|
||||||
- Rename storage-common to storage and make it provide storage-common.
|
- Rename storage-common to storage and make it provide storage-common.
|
||||||
- Move bscan to director-common.
|
- Move bscan to director-common.
|
||||||
|
Loading…
Reference in New Issue
Block a user