jabberd pidfiles has a "jabberd-" prefix: grep pid /etc/jabber/*.dist /etc/jabber/c2s.xml.dist: <pidfile>/var/run/jabber/jabberd2-c2s.pid</pidfile> /etc/jabber/router.xml.dist: <pidfile>/var/run/jabber/jabberd2-router.pid</pidfile> /etc/jabber/s2s.xml.dist: <pidfile>/var/run/jabber/jabberd2-s2s.pid</pidfile> /etc/jabber/sm.xml.dist: <pidfile>/var/run/jabber/jabberd2-sm.pid</pidfile> but in jabberd2-2.3.1.logrotate postrotate script: kill -HUP $(cat /var/run/jabberd/c2s.pid) kill -HUP $(cat /var/run/jabberd/s2s.pid) kill -HUP $(cat /var/run/jabberd/sm.pid) kill -HUP $(cat /var/run/jabberd/router.pid)
Created attachment 373478 [details, diff] add "reload" option to jabberd2-2.3.1.init
Created attachment 373480 [details, diff] logrotate with "/etc/init.d/jabberd reload"
Also I think "missingok" option should be added to logrotate because when syslog is used for logging (which seems to be the default) /var/log/jabber/ is empty.
do you think this is worth a revbump?
+*jabberd2-2.3.2-r1 (01 Jun 2014) + + 01 Jun 2014; Julian Ospald <hasufell@gentoo.org> +jabberd2-2.3.2-r1.ebuild, + +files/jabberd2-2.3.2.init, +files/jabberd2-2.3.2.logrotate: + fix logroate script wrt #505596
What about missingok option?