gtksvc

Up / gtksvc-0.1.0.tar.gz / gtksvc-0.1.0-all.tar.gz

gtksvc is the GTK+ frontend of daemontools.

Requirements

How to use

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):

log - View

Shows log/main/current only.

log - View (All)

Shows log/main/*.

log - Monitor

Shows log/main/current and monitors. (using 'tail -f')

How to use another terminal for viewing log

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' -- "$@"

How to bookmark svscan directories

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.

Copyright and License Notice

This program is free software distributed under BSD-style license term described in file COPYING.

Copyright 2003-, Shirai,Kaoru <shirai@korinkan.co.jp>