summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent.service
diff options
context:
space:
mode:
Diffstat (limited to 'fusioninventory-agent.service')
-rw-r--r--fusioninventory-agent.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/fusioninventory-agent.service b/fusioninventory-agent.service
new file mode 100644
index 0000000..76b60c7
--- /dev/null
+++ b/fusioninventory-agent.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=FusionInventory agent
+After=syslog.target network.target
+
+[Service]
+EnvironmentFile=/etc/sysconfig/fusioninventory-agent
+ExecStart=/usr/bin/fusioninventory-agent $FUSINVOPT --logfile=/var/log/fusioninventory-agent/service.log --daemon-no-fork
+
+[Install]
+WantedBy=multi-user.target
+