summaryrefslogtreecommitdiff
path: root/net-analyzer/netxms/files/nxagentd
diff options
context:
space:
mode:
author(no author) <(no author)@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-16 07:55:01 +0000
committer(no author) <(no author)@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-16 07:55:01 +0000
commitf1e95daae05c57d935b00e611c624c5e75cd21ec (patch)
tree4065ab51d9e64882d9001a59ede7d9a4e372a4a6 /net-analyzer/netxms/files/nxagentd
uploading my overlay ), initial commit
git-svn-id: http://172.18.13.13/svn/sss_overlay@1 4d9a9b59-111c-4e0b-8f7a-7640551abb98
Diffstat (limited to 'net-analyzer/netxms/files/nxagentd')
-rw-r--r--net-analyzer/netxms/files/nxagentd15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/netxms/files/nxagentd b/net-analyzer/netxms/files/nxagentd
new file mode 100644
index 0000000..60c8a6a
--- /dev/null
+++ b/net-analyzer/netxms/files/nxagentd
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+start() {
+ ebegin "Starting NetXMS Agent"
+ start-stop-daemon --start --quiet --exec /usr/bin/nxagentd -- -d -c /etc/netxms/nxagentd.conf
+ eend
+ }
+ stop() {
+ ebegin "Stopping NetXMS Agent"
+ start-stop-daemon --stop --quiet --exec /usr/bin/nxagentd
+ eend
+ }