summaryrefslogtreecommitdiff
path: root/net-nntp/inn/files/innd.service
blob: dc58918829a7b7860c47f174240498e4c62bfdbe (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
[Unit]
Description=InterNetNews News Server
Documentation=https://www.eyrie.org/~eagle/software/inn/
Documentation=man:innd(8)
After=network-online.target
Wants=network-online.target
ConditionPathExists=/etc/news/inn.conf

[Service]
Type=notify
Restart=on-abort
ExecStart=/opt/inn/bin/rc.news
ExecStop=/opt/inn/bin/rc.news stop
ExecReload=/opt/inn/bin/ctlinnd -t 20 reload all 'by systemd'
PIDFile=/run/news/innd.pid
User=news
Group=news
ConfigurationDirectory=news
LogsDirectory=news
LogsDirectoryMode=775
RuntimeDirectory=news
StateDirectory=news
StateDirectoryMode=775
AmbientCapabilities=CAP_NET_BIND_SERVICE
PrivateTmp=true
ProtectControlGroups=true
ProtectHome=true
ProtectSystem=full
RuntimeDirectory=news
LimitNOFILE=infinity
ReadWritePaths=/var/spool/news

[Install]
WantedBy=multi-user.target