blob: d916051080c8b6ba8c5948f3eb04d11456b718d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[Unit]
Description=Matrix Alertmanager webhook receiver
After=network.target
[Service]
ExecStart=/usr/bin/alertmanager_matrix --config.file="/etc/ammatrix.yml"
ExecReload=/bin/kill -HUP $MAINPID
User=alertmanager-matrix
Group=alertmanager-matrix
NoNewPrivileges=true
ProtectSystem=full
ProtectKernelModules=true
ProtectKernelTunables=true
PrivateTmp=true
LockPersonality=true
ProtectHostname=true
ProtectHome=true
ProtectControlGroups=true
ProtectKernelLogs=true
PrivateDevices=true
RestrictRealtime=true
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target
|