aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--msec.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/msec.service b/msec.service
new file mode 100644
index 0000000..b1c1f7e
--- /dev/null
+++ b/msec.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mageia Security Center
+Documentation=man:msec(8) man:msecperm(8)
+After=syslog.target network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/security/msec/security.conf
+ExecStart=/usr/sbin/msec -q /usr/sbin/msecperms -q
+ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target