mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-13 08:39:47 +03:00
Let's put everything systemd related in an extra-repos directory, so it is clear that the packages from here will end up in a separate, optional binary package repository.
23 lines
543 B
Desktop File
23 lines
543 B
Desktop File
[Unit]
|
|
Description=Modem Manager
|
|
After=polkit.service
|
|
Requires=polkit.service
|
|
ConditionVirtualization=!container
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.ModemManager1
|
|
ExecStart=/usr/sbin/ModemManager --test-quick-suspend-resume
|
|
StandardError=null
|
|
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
|
|
Alias=dbus-org.freedesktop.ModemManager1.service
|