]> gitweb @ CieloNegro.org - Rakka.git/blob - rc.d/NetBSD/rakka.in
rc file for NetBSD
[Rakka.git] / rc.d / NetBSD / rakka.in
1 #!/bin/sh
2 # -----------------------------------------------------
3 #           Rakka's rc script for NetBSD
4 # -----------------------------------------------------
5 #        Put this file into your /etc/rc.d/
6 # FreeBSD users should also be able to use this script.
7 # -----------------------------------------------------
8
9 # PROVIDE: rakka
10 # REQUIRE: DAEMON
11
12 . /etc/rc.subr
13
14 name="rakka"
15 rcvar=$name
16 command="@RAKKA_BINDIR@/rakka"
17 pidfile="@RAKKA_LOCALSTATEDIR@/pid"
18
19 load_rc_config $name
20 run_rc_command "$1"