mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 10:44:12 +01:00 
			
		
		
		
	Intial commit for systemd support
This commit is contained in:
		
							parent
							
								
									ebb4f1b78c
								
							
						
					
					
						commit
						78bd144c1c
					
				
							
								
								
									
										18
									
								
								scripts/systemd/gogs.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								scripts/systemd/gogs.service
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Gogs (Go Git Service) server
 | 
			
		||||
After=syslog.target
 | 
			
		||||
After=network.target
 | 
			
		||||
#After=mysqld.service
 | 
			
		||||
#After=postgresql.service
 | 
			
		||||
#After=memcached.service
 | 
			
		||||
#After=redis.service
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
User=git
 | 
			
		||||
Group=git
 | 
			
		||||
ExecStart=/home/git/gogs/gogs/start.sh
 | 
			
		||||
WorkingDirectory=/home/git/gogs
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user