24 lines
673 B
Desktop File
24 lines
673 B
Desktop File
[Unit]
|
|
Description=LD FDPI privileged helper
|
|
After=network.target
|
|
Before=ld-fdpi.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/python3 /usr/lib/ld-fdpi/ld_fdpi_helper.py
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
RuntimeDirectory=ld-fdpi resolvconf wireguard
|
|
RuntimeDirectoryMode=0750
|
|
Group=ld-fdpi
|
|
NoNewPrivileges=no
|
|
PrivateTmp=yes
|
|
ProtectHome=yes
|
|
ProtectSystem=full
|
|
ReadWritePaths=/run/ld-fdpi /etc/amnezia/amneziawg /run/wireguard /run/resolvconf
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_ADMIN
|
|
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_ADMIN
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK AF_PACKET
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|