今では重荷がなくなったので...
git-svn-id: file:///srv/svn/repo/mai/trunk@71 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
10
rc.d/NetBSD
10
rc.d/NetBSD
@@ -1,21 +1,19 @@
|
||||
#!/bin/sh
|
||||
# $TheSupernovaDuo$
|
||||
# $YakumoLabs$
|
||||
#
|
||||
# PROVIDE: mai
|
||||
# REQUIRE: NETWORKING DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
$_rc_subr_loaded . /etc/rc.subr
|
||||
|
||||
name="mai"
|
||||
rcvar=$name
|
||||
command="/usr/pkg/bin/mai"
|
||||
command_args="-f /usr/pkg/etc/mai/mai.ini -u www -g www"
|
||||
command="/usr/local/bin/mai"
|
||||
command_args="-f /usr/local/etc/mai/mai.ini"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
start_cmd="mai_start"
|
||||
|
||||
required_files="/usr/pkg/etc/mai/mai.ini"
|
||||
required_files="/usr/local/etc/mai/mai.ini"
|
||||
|
||||
mai_start() {
|
||||
$command $command_args
|
||||
|
||||
Reference in New Issue
Block a user