From 8b17c260073b983470c75e15185e84104290616a Mon Sep 17 00:00:00 2001 From: daviddavid Date: Thu, 9 May 2024 09:06:25 +0200 Subject: first systemd unit file --- msec.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 msec.service 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 -- cgit v1.2.1