summaryrefslogtreecommitdiffstats
path: root/roles/wiki/files/etc/systemd/system/ikiwiki.service
blob: 3ee7d66e5d436b0e1ba29540c8c39e116247058c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=wiki compiler (CGI script)
Documentation=https://ikiwiki.info/

[Service]
User=ikiwiki
Group=ikiwiki
ExecStart=/usr/sbin/fcgiwrap
SyslogIdentifier=ikiwiki
#
# Hardening
NoNewPrivileges=yes
ReadWriteDirectories=/var/lib/ikiwiki/fripost-wiki
ReadWriteDirectories=/var/lib/ikiwiki/public_html/fripost-wiki
PrivateDevices=yes
ProtectHome=yes
ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes

[Install]
WantedBy=multi-user.target