Fix
This commit is contained in:
		
							
								
								
									
										29
									
								
								net-misc/eg25-manager/files/eg25-manager.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								net-misc/eg25-manager/files/eg25-manager.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
[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
 | 
			
		||||
		Reference in New Issue
	
	Block a user