summaryrefslogtreecommitdiff
blob: 1a0bed4a53da9101428ee71ca6c4b6e694617648 (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
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

depend() {
    need net
    after logger

    # 4.0+ only, make sure we run before the other torque services
    before pbs_mom
    before pbs_sched
    before pbs_server
}

start() {
    start-stop-daemon \
        --start \
        --exec /usr/sbin/trqauthd
}

stop() {
    start-stop-daemon \
        --stop \
        --exec /usr/sbin/trqauthd
}