add python part of pulse
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@932 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
20
app-admin/pulse2-inventory-server/files/pulse2-inventory-server.initd
Executable file
20
app-admin/pulse2-inventory-server/files/pulse2-inventory-server.initd
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
depend() {
|
||||
need net mmc-agent
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Pulse2 Inventory Server"
|
||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/pulse2-inventory-server --pidfile /var/run/pulse2-inventory-server.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Pulse2 Inventory Server"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/pulse2-inventory-server.pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user