Arne Wichmann [2012-05-09 10:20 +0200]:
>         postrotate
>                 invoke-rc.d rsyslog rotate > /dev/null
>         endscript

So what exactly would be wrong with just using "service" instead of
invoke-rc.d? Sure, that would call the init.d script also under
systemd, but do_rotate() is more or less just a fancy SIGHUP, so that
should work just fine? I tested it under systemd as well.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to