Up / gtksvc-0.1.0.tar.gz / gtksvc-0.1.0-all.tar.gz
gtksvc is the GTK+ frontend of daemontools.
If you are running svscan under ~/service, launch as following:
$ gtksvc ~/service
The window reports status of each supervised services.
You can send signals to selcted services by choosing context menu item:
or can view logs with less and rxvt(1):
Shows log/main/current only.
Shows log/main/*.
Shows log/main/current and monitors. (using 'tail -f')
Create ~/.gtksvc directory, and put executable 'log-viewer' or 'log-monitor' there. log-viewer is used by 'log - View', and log-monitor is used by 'log - Monitor'.
~/.gtksvc/log-viewer is following shell script by default:
#!/bin/sh exec rxvt -e sh -c 'cat "$@"|tai64nlocal|less' -- "$@"
~/.gtksvc/log-monitor is:
#!/bin/sh exec rxvt -e sh -c 'tail -f "$@"|tai64nlocal' -- "$@"
Place file 'bookmark' into ~/.gtksvc, and define your svscan directories as following:
/service System services ~/service My services
First column is directory location, and second is comment. Comment can be omitted.
This program is free software distributed under BSD-style license term described in file COPYING.
Copyright 2003-, Shirai,Kaoru <shirai@korinkan.co.jp>