blob: ca3df5e48bd8aef21c82c1073b428c0802587e9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# PROVIDE: xmpppyirc
# REQUIRE: DAEMON
. %%RC_SUBR%%
name="xmpppyirc"
pidfile="/var/run/$name.pid"
command="%%FEXEC%%"
command_args="&"
command_interpreter="%%PYTHON_CMD%%"
required_files="%%PREFIX%%/etc/$name.conf"
start_precmd="touch $pidfile && export PID=$pidfile"
load_rc_config $name
: ${xmpppyirc_enable="NO"}
run_rc_command "$1"
|