blob: 1c2c38792012b1f71ec00a7ad39e88d46bdb10a8 (
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
33
34
35
36
37
38
39
40
|
[Unit]
Description=solanum irc daemon
After=network.target
[Service]
Type=simple
User=solanum
Restart=always
PIDFile=/run/solanum/ircd.pid
ExecStart=/usr/bin/solanum -foreground
ExecReload=/bin/kill -HUP $MAINPID
RemoveIPC=yes
CapabilityBoundingSet=
NoNewPrivileges=yes
PrivateDevices=yes
ProtectClock=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
PrivateMounts=yes
SystemCallArchitectures=native
MemoryDenyWriteExecute=yes
RestrictNamespaces=yes
RestrictSUIDSGID=yes
ProtectHostname=yes
LockPersonality=yes
ProtectKernelTunables=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictRealtime=yes
ProtectSystem=strict
ProtectProc=invisible
ProtectHome=yes
ReadWritePaths=/run /var/lib/solanum /var/log/solanum
PrivateTmp=yes
SystemCallFilter=@network-io @system-service
SystemCallErrorNumber=EPERM
[Install]
WantedBy=multi-user.target
|