- Added 'restartlog' to initscript, for clearing out error_log. Useful for
problem diagnosis.
This commit is contained in:
parent
e1fac77d88
commit
ea7be1dc50
@ -92,6 +92,11 @@ case $1 in
|
|||||||
status)
|
status)
|
||||||
status $DAEMON
|
status $DAEMON
|
||||||
;;
|
;;
|
||||||
|
restartlog)
|
||||||
|
stop
|
||||||
|
cat /dev/null >/var/log/cups/error_log
|
||||||
|
start
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
||||||
echo $"Usage: $prog {start|stop|restart|condrestart|reload|status}"
|
echo $"Usage: $prog {start|stop|restart|condrestart|reload|status}"
|
||||||
|
@ -373,6 +373,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed May 16 2006 Tim Waugh <twaugh@redhat.com>
|
* 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.
|
- Initscript no longer needs to check for printconf-backend.
|
||||||
|
|
||||||
* Tue May 16 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.0-3
|
* Tue May 16 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.0-3
|
||||||
|
Loading…
Reference in New Issue
Block a user