Newer
Older
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
33
34
35
36
37
[Unit]
Description=REST service for OpenPGP CA
Documentation=https://openpgp-ca.org/doc/restd/
Wants=network-online.target
[Service]
CapabilityBoundingSet=
EnvironmentFile=/etc/openpgp-ca-restd/env
ExecStart=/usr/bin/openpgp-ca-restd -d $DATABASE run
Group=openpgp-ca-restd
LockPersonality=yes
MemoryDenyWriteExecute=yes
NonBlocking=yes
NoNewPrivileges=yes
PrivateDevices=yes
PrivateTmp=yes
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
ProtectSystem=strict
ReadOnlyPaths=/etc/openpgp-ca-restd/
RemoveIPC=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service
User=openpgp-ca-restd
[Install]
WantedBy=multi-user.target