mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	systemd issue in centos 7
Not working pre-create pid-file dir (/run/i2pd). It fixed with one of this ways: > PermissionsStartOnly=True or > ExecStartPre=/bin/mkdir -p -m 0700 /var/run/i2pd > ExecStartPre=/bin/chown i2pd: /var/run/i2pd First way is prefer because RuntimeDirectory's options already used.
This commit is contained in:
		
							parent
							
								
									180730f9cf
								
							
						
					
					
						commit
						ce57a130fc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -5,6 +5,7 @@ After=network.target
 | 
			
		|||
[Service]
 | 
			
		||||
User=i2pd
 | 
			
		||||
Group=i2pd
 | 
			
		||||
PermissionsStartOnly=True
 | 
			
		||||
RuntimeDirectory=i2pd
 | 
			
		||||
RuntimeDirectoryMode=0700
 | 
			
		||||
Type=simple
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue