Add systemd unit files for malpd and support systemd socket activation
This commit is contained in:
1 parent
c717b5d589
commit
1180849b44
3 files changed
+29
-5
No files matched your search
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=MALP monitoring daemon
|
||||
Requires=malpd.socket
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/var/www/malp/bin/malpd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=malpd Unix socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/malpd/malpd.sock
|
||||
SocketGroup=apache
|
||||
SocketMode=0660
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Reference in new issue
Block a user