blob: 9a947b3fc1e97fcb2262eeb22d9ac1fc91bdf710 (
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=XMPP-Webhook
After=network.target
[Service]
User=xmppwebhook
Group=xmppwebhook
Type = simple
EnvironmentFile=/etc/xmpp-webhook.env
ExecStart=/usr/bin/xmpp-webhook
Restart=always
RestartSec=30s
NoNewPrivileges=true
PrivateUsers=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelTunables=true
ProtectKernelModules=yes
LockPersonality=true
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target
|