This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
MPortLink/services/mportlink.service

19 lines
362 B
SYSTEMD
Raw Normal View History

2023-12-20 21:18:00 +00:00
[Unit]
Description=Modem Port Link
After=polkit.service
Requires=polkit.service
[Service]
ExecStart=/usr/bin/mportlink
Restart=on-abort
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_NET_ADMIN
ProtectSystem=true
ProtectHome=true
PrivateTmp=true
RestrictAddressFamilies=AF_NETLINK AF_UNIX AF_QIPCRTR
NoNewPrivileges=true
User=root
[Install]
WantedBy=multi-user.target