Debian Codegraph @

irtt.service

raw
1 [Unit]
2 Description=irtt server
3 After=network.target
4 Documentation=man:irtt(1)
5 Documentation=man:irtt-server(1)
6
7 [Service]
8 #ExecStartPre=/sbin/iptables -A INPUT -p udp -m udp --dport 2112 -j ACCEPT
9 ExecStart=/usr/bin/irtt server
10 #ExecStopPost=/sbin/iptables -D INPUT -p udp -m udp --dport 2112 -j ACCEPT
11 User=nobody
12 Restart=on-failure
13
14 # Sandboxing
15 # Some of these are not present in old versions of systemd.
16 # Comment out as appropriate.
17 PrivateTmp=yes
18 PrivateDevices=yes
19 ProtectControlGroups=yes
20 ProtectKernelTunables=yes
21 ProtectSystem=strict
22 ProtectHome=yes
23 NoNewPrivileges=yes
24
25 [Install]
26 WantedBy=multi-user.target