source: trunk/init/samhain.startMACOSX.in@ 501

Last change on this file since 501 was 69, checked in by katerina, 18 years ago

MacOS X init script.

File size: 365 bytes
Line 
1#!/bin/sh
2
3. /etc/rc.common
4
5StartService() {
6
7 ConsoleMessage "Starting service @install_name@."
8 @sbindir@/@install_name@ start
9
10}
11
12StopService() {
13
14 ConsoleMessage "Stopping service @install_name@."
15 @sbindir@/@install_name@ stop
16
17}
18
19RestartService() {
20
21 ConsoleMessage "Restarting service @install_name@."
22 @sbindir@/@install_name@ restart
23
24}
25
26
27RunService "$1"
Note: See TracBrowser for help on using the repository browser.