Skip to content

Commit

Permalink
[dist] obs-server.spec: mark logrotate files as config noreplace
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfinder committed Dec 18, 2017
1 parent 38ba8d1 commit b7799c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/obs-server.spec
Expand Up @@ -495,7 +495,7 @@ chown %{apache_user}:%{apache_group} /srv/www/obs/api/log/production.log
%dir /etc/slp.reg.d
%dir /usr/lib/obs
%dir /usr/lib/obs/server
/etc/logrotate.d/obs-server
%config(noreplace) /etc/logrotate.d/obs-server
/etc/init.d/obsdispatcher
/etc/init.d/obspublisher
/etc/init.d/obsrepserver
Expand Down Expand Up @@ -560,7 +560,7 @@ chown %{apache_user}:%{apache_group} /srv/www/obs/api/log/production.log

# formerly obs-source_service
/etc/init.d/obsservice
/etc/logrotate.d/obs-source_service
%config(noreplace) /etc/logrotate.d/obs-source_service
/etc/cron.d/cleanup_scm_cache
/usr/sbin/rcobsservice
/usr/lib/obs/server/bs_service
Expand Down Expand Up @@ -609,7 +609,7 @@ usermod -a -G docker obsservicerun
/srv/www/obs/api/config.ru
/srv/www/obs/api/config/application.rb
/srv/www/obs/api/config/clock.rb
/etc/logrotate.d/obs-api
%config(noreplace) /etc/logrotate.d/obs-api
/etc/init.d/obsapidelayed
/etc/init.d/obsapisetup
/usr/sbin/rcobsapisetup
Expand Down

0 comments on commit b7799c7

Please sign in to comment.