source:
trunk/init/samhain.startMACOSX.in@
518
Last change on this file since 518 was 69, checked in by , 18 years ago | |
---|---|
File size: 365 bytes |
Rev | Line | |
---|---|---|
[69] | 1 | #!/bin/sh |
2 | ||
3 | . /etc/rc.common | |
4 | ||
5 | StartService() { | |
6 | ||
7 | ConsoleMessage "Starting service @install_name@." | |
8 | @sbindir@/@install_name@ start | |
9 | ||
10 | } | |
11 | ||
12 | StopService() { | |
13 | ||
14 | ConsoleMessage "Stopping service @install_name@." | |
15 | @sbindir@/@install_name@ stop | |
16 | ||
17 | } | |
18 | ||
19 | RestartService() { | |
20 | ||
21 | ConsoleMessage "Restarting service @install_name@." | |
22 | @sbindir@/@install_name@ restart | |
23 | ||
24 | } | |
25 | ||
26 | ||
27 | RunService "$1" |
Note:
See TracBrowser
for help on using the repository browser.