From: | "Justin Bronder (jsbronder)" <jsbronder@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/torque/files: trqauthd-init.d |
Date: | Thu, 30 May 2013 00:47:12 |
Message-Id: | 20130530004706.426D220081@flycatcher.gentoo.org |
1 | jsbronder 13/05/30 00:47:06 |
2 | |
3 | Added: trqauthd-init.d |
4 | Log: |
5 | Bump re #414623. Added trqauthd daemon init script which needs to be run before any of the various pbs_* services |
6 | |
7 | (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-cluster/torque/files/trqauthd-init.d |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/trqauthd-init.d?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/trqauthd-init.d?rev=1.1&content-type=text/plain |
14 | |
15 | Index: trqauthd-init.d |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2013 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/files/trqauthd-init.d,v 1.1 2013/05/30 00:47:06 jsbronder Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | after logger |
25 | |
26 | # 4.0+ only, make sure we run before the other torque services |
27 | before pbs_mom |
28 | before pbs_sched |
29 | before pbs_server |
30 | } |
31 | |
32 | start() { |
33 | start-stop-daemon \ |
34 | --start \ |
35 | --exec /usr/sbin/trqauthd |
36 | } |
37 | |
38 | stop() { |
39 | start-stop-daemon \ |
40 | --stop \ |
41 | --exec /usr/sbin/trqauthd |
42 | } |