21 lines
		
	
	
		
			465 B
		
	
	
	
		
			Desktop File
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			465 B
		
	
	
	
		
			Desktop File
		
	
	
	
[Unit]
 | 
						|
Description=Bind lin socket with pseudo tty based on socat 
 | 
						|
Requires=um-service-config.service user-module.target
 | 
						|
After=um-service-config.service user-module.target
 | 
						|
ConditionPathExists=/etc/user-module/network.conf
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=simple
 | 
						|
ExecStart=/usr/bin/socat-socket-lin
 | 
						|
PIDFile=/run/socket-lin.pid
 | 
						|
 | 
						|
 | 
						|
EnvironmentFile=/etc/user-module/network.conf
 | 
						|
 | 
						|
ExecReload=/bin/kill -HUP $MAINPID
 | 
						|
Restart=on-failure
 | 
						|
RestartSec=10
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=user-module.target
 |