blob: 70e0f0970c1470596e3a91e9f411c51f0ed44d71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
use dns ircd
}
start() {
ebegin "Starting ptlink-opm"
start-stop-daemon --start --quiet --exec /usr/bin/ptlink-opm \
--chuid ${PTLINKOPM_USER} >/dev/null
eend $?
}
stop() {
ebegin "Shutting down ptlink-opm"
start-stop-daemon --stop --exec /usr/bin/ptlink-opm
eend $?
}
|