aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2024-05-09 09:06:25 +0200
committerdaviddavid <geiger.david68210@gmail.com>2024-05-09 09:06:25 +0200
commit8b17c260073b983470c75e15185e84104290616a (patch)
treeb790fef105ea896aa9f1a34b95bb0095d21db716
parent6f8ab1f632dd44a7c1d677f3ec966e40a866086b (diff)
downloadmsec-8b17c260073b983470c75e15185e84104290616a.tar
msec-8b17c260073b983470c75e15185e84104290616a.tar.gz
msec-8b17c260073b983470c75e15185e84104290616a.tar.bz2
msec-8b17c260073b983470c75e15185e84104290616a.tar.xz
msec-8b17c260073b983470c75e15185e84104290616a.zip
first systemd unit file
-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