blob: 40e716ebfd6e8ef9eda8232f1af6ced649c2f6cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
* Overview
This directory contains distribution-specific startup scripts for
Ping903. All scripts assume the daemon binary is installed at
/usr/sbin/ping903. If it's not the case, change the value of the
COMMAND variable, located at the start of the script.
* debian.rc
The start script for Debian-based systems without systemd. Use it on
Debian 7, Ubuntu up to 16.04, etc.
1. Copy the script and make it executable:
cp debian.rc /etc/init.d/ping903
chmod +x /etc/init.d/ping903
2. Register it in the startup and shutdown sequences:
update-rc.d ping903 defaults
Optionally, you may create the file /etc/default/903, which can
define two shell variables:
START
Whether or not to start the service. Set it to "no", to
disable the service. Set it to "yes" (or simply remove it)
to enable the service.
DAEMON_OPTS
Additional options to be passed to the server.
* ping903.service
Service definition for systems with systemd. Usage:
1. Copy
cp ping903.service /etc/systemd/system/
2. Enable it
systemctl enable ping903
3. Reload the daemon
systemctl daemon-reload
4. Start the service
systemctl start ping903
* slackware.rc
Slackware rc script. In fact, it is the most general of all and it
will work an all systems with no (or at a pinch, little) changes.
Usage:
1. Copy it to where startup scripts live and make it executable.
cp slackware.rc /etc/rc.d/rc.pound903
chmod +x /etc/rc.d/rc.pound903
2. Add the following line to your /etc/rc.d/rc.local:
/etc/rc.d/rc.pound903 start
* genrc.rc
Startup script for installations using genrc
(https://puszcza.gnu.org.ua/projects/genrc). This is mostly for
Slackware, but can actually be used on any system. The usage on
Slackware is the same as described for slackware.rc.
Local Variables:
mode: outline
paragraph-separate: "[ ]*$"
version-control: never
End:
|