| 1 |
[Unit] |
| 2 |
Description=Pyro name server |
| 3 |
Documentation=man:pyro5-ns(1) |
| 4 |
After=network.target |
| 5 |
|
| 6 |
[Service] |
| 7 |
Type=simple |
| 8 |
ExecStart=/usr/bin/python3 /usr/bin/pyro5-ns -n 127.0.0.1 -p 9090 |
| 9 |
RestartSec=35 |
| 10 |
Restart=on-failure |
| 11 |
PrivateDevices=yes |
| 12 |
PrivateTmp=yes |
| 13 |
ProtectClock=yes |
| 14 |
ProtectControlGroups=yes |
| 15 |
ProtectHome=yes |
| 16 |
ProtectHostname=yes |
| 17 |
ProtectKernelLogs=yes |
| 18 |
ProtectKernelModules=yes |
| 19 |
ProtectKernelTunables=yes |
| 20 |
ProtectSystem=strict |
| 21 |
RestrictNamespaces=yes |
| 22 |
RestrictRealtime=yes |
| 23 |
RestrictSUIDSGID=yes |
| 24 |
LockPersonality=yes |
| 25 |
MemoryDenyWriteExecute=yes |
| 26 |
NoNewPrivileges=yes |
| 27 |
CapabilityBoundingSet= |
| 28 |
SystemCallArchitectures=native |
| 29 |
SystemCallErrorNumber=EPERM |
| 30 |
SystemCallFilter=@system-service |
| 31 |
|
| 32 |
[Install] |
| 33 |
WantedBy=multi-user.target |