30 lines
566 B
SYSTEMD
30 lines
566 B
SYSTEMD
|
[Unit]
|
||
|
Description=Quectel EG25 modem
|
||
|
Before=ModemManager.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/eg25manager
|
||
|
Restart=on-failure
|
||
|
ProtectControlGroups=true
|
||
|
ProtectHome=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectSystem=strict
|
||
|
RestrictSUIDSGID=true
|
||
|
PrivateTmp=true
|
||
|
ProtectedKernelModules=true
|
||
|
MemoryDenyWriteExecute=true
|
||
|
PrivateMounts=true
|
||
|
NoNewPrivileges=true
|
||
|
CapabilityBoundingSet=
|
||
|
ProtectProc=true
|
||
|
ProtectDevices=true
|
||
|
DeviceAllow=/dev/ttyS2
|
||
|
LockPersonality=true
|
||
|
PrivateNetwork=true
|
||
|
ProtectClock=true
|
||
|
ProtectKernelLog=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|