- Added 'restartlog' to initscript, for clearing out error_log. Useful for

problem diagnosis.
This commit is contained in:
Tim Waugh 2006-05-17 11:40:41 +00:00
parent e1fac77d88
commit ea7be1dc50
2 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,11 @@ case $1 in
status)
status $DAEMON
;;
restartlog)
stop
cat /dev/null >/var/log/cups/error_log
start
;;
*)
echo $"Usage: $prog {start|stop|restart|condrestart|reload|status}"

View File

@ -373,6 +373,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed May 16 2006 Tim Waugh <twaugh@redhat.com>
- Added 'restartlog' to initscript, for clearing out error_log. Useful
for problem diagnosis.
- Initscript no longer needs to check for printconf-backend.
* Tue May 16 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.0-3