File: rssbot

package info (click to toggle)
tkabber 0.11.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,252 kB
  • ctags: 2,433
  • sloc: tcl: 48,318; xml: 3,350; sh: 1,387; makefile: 66
file content (17 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#

# PROVIDE: rssbot
# REQUIRE: DAEMON

. /etc/rc.subr

name="rssbot"
rcvar=$name
command="/usr/pkg/libexec/rssbot.tcl"
command_interpreter=tclsh
pidfile="/var/run/${name}.pid"
command_args="-from ${name}/`hostname -s` -pidfile $pidfile -logfile /tmp/${name}.log &"

load_rc_config $name
run_rc_command "$1"