You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
727 B
36 lines
727 B
[Unit]
|
|
Description=Replies with peer's IP on port 7878
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/myip
|
|
|
|
ProtectProc=invisible
|
|
DynamicUser=true
|
|
NoNewPrivileges=true
|
|
MemoryDenyWriteExecute=true
|
|
LockPersonality=true
|
|
RestrictRealtime=true
|
|
RestrictSUIDSGID=true
|
|
RemoveIPC=true
|
|
SystemCallFilter=@system-service
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
RuntimeDirectory=myip
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
PrivateUsers=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
SystemCallArchitectures=native
|
|
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |