blob: 7b4738a2a3a457d65f5114f51d11ce79c65cc2bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description="Webhook to MUC bot"
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/webhook2muc/webhook2muc.env
ExecStart=/usr/bin/webhook2muc -j ${JID} -p ${PASSWD} -m ${MUC} -P ${HTTP_PORT} -H "X-Gitlab-Token: ${SECRET}"
Restart=always
RestartSec=5s
DynamicUser=true
NoNewPrivileges=true
CPUWeight=5
LimitNPROC=1
LimitNOFILE=32
MemoryMax=128M
ProtectSystem=full
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
|