summarylogtreecommitdiffstats
path: root/wkhtmltopdf-server.service
blob: e3607409a7c75f22068e68be08c63285a23b41d6 (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
27
28
29
30
31
32
[Unit]
Description=Wkhtmltopdf Server
After=network-online.target

[Service]
Type=simple
DynamicUser=yes
EnvironmentFile=-/etc/conf.d/wkhtmltox-server
ExecStart=/usr/bin/wkhtmltox-server
Restart=always
Restart=10s

LimitNOFILE=1024
LimitNPROC=16

SystemCallArchitectures=native
PrivateDevices=yes
ProtectControlGroups=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectHostname=yes
ProtectClock=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
MemoryDenyWriteExecute=yes
LockPersonality=yes
CapabilityBoundingSet=

[Install]
WantedBy=multi-user.target