Skip to content

Commit

Permalink
packaging: added user resource folder for director daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 5, 2019
1 parent a561e67 commit 711e6f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/cmake/BareosInstallConfigFiles.cmake
Expand Up @@ -62,6 +62,7 @@ endforeach()
if (${CONFIGBASEDIRECTORY} STREQUAL "bareos-dir.d")
file(MAKE_DIRECTORY "${DESTCONFDIR}/../bareos-dir-export/client/")
file(MAKE_DIRECTORY "${DESTCONFDIR}/counter")
file(MAKE_DIRECTORY "${DESTCONFDIR}/user")
endif()

# add ndmp resource directory for bareos-sd
Expand Down
1 change: 1 addition & 0 deletions core/debian/bareos-director.install.in
Expand Up @@ -25,6 +25,7 @@
@configtemplatedir@/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf
@configtemplatedir@/bareos-dir.d/schedule/WeeklyCycle.conf
@configtemplatedir@/bareos-dir.d/storage/File.conf
@configtemplatedir@/bareos-dir.d/user
@configtemplatedir@/tray-monitor.d/director/Director-local*.conf
/usr/sbin/bareos-dir
/usr/share/man/man8/bareos-dir.8*
Expand Down
1 change: 1 addition & 0 deletions core/platforms/packaging/bareos.spec
Expand Up @@ -1175,6 +1175,7 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%attr(0750, %{daemon_user}, %{daemon_group}) %dir %{_sysconfdir}/%{name}/bareos-dir.d/profile
%attr(0750, %{daemon_user}, %{daemon_group}) %dir %{_sysconfdir}/%{name}/bareos-dir.d/schedule
%attr(0750, %{daemon_user}, %{daemon_group}) %dir %{_sysconfdir}/%{name}/bareos-dir.d/storage
%attr(0750, %{daemon_user}, %{daemon_group}) %dir %{_sysconfdir}/%{name}/bareos-dir.d/user
# tray monitor configurate is installed by the target daemons
%if 0%{?build_qt_monitor}
%attr(0755, %{daemon_user}, %{daemon_group}) %dir %{_sysconfdir}/%{name}/tray-monitor.d
Expand Down

0 comments on commit 711e6f1

Please sign in to comment.