This commit is contained in:
		
							parent
							
								
									7e44b8dac6
								
							
						
					
					
						commit
						fd79aff597
					
				
					 6 changed files with 79 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								files/davmail.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								files/davmail.service
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
[Unit]
 | 
			
		||||
Description=Davmail Exchange gateway
 | 
			
		||||
Documentation=http://davmail.sourceforge.net/serversetup.html
 | 
			
		||||
Documentation=http://davmail.sourceforge.net/advanced.html
 | 
			
		||||
Documentation=http://davmail.sourceforge.net/sslsetup.html
 | 
			
		||||
After=network.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
User=davmail
 | 
			
		||||
PermissionsStartOnly=true
 | 
			
		||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
 | 
			
		||||
ExecStart=/usr/bin/davmail -server /etc/davmail.properties
 | 
			
		||||
StateDirectory=davmail
 | 
			
		||||
SuccessExitStatus=143
 | 
			
		||||
PrivateTmp=yes
 | 
			
		||||
ProtectSystem=full
 | 
			
		||||
ProtectHome=yes
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue