mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			578 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			578 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=OPENIM OPENIM PUSH
 | 
						|
Documentation=Interface for controlling the OpenIM Push Notification service.
 | 
						|
Documentation=https://github.com/OpenIMSDK/Open-IM-Server/blob/main/deployment/init/README.md
 | 
						|
 | 
						|
[Service]
 | 
						|
WorkingDirectory=${OPENIM_DATA_DIR}/openim-push
 | 
						|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_DATA_DIR}/openim-push
 | 
						|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_LOG_DIR}
 | 
						|
ExecStart=${OPENIM_INSTALL_DIR}/bin/openim-push --port ${OPENIM_PUSH_PORT} --prometheus_port ${PUSH_PROM_PORT}
 | 
						|
Restart=always
 | 
						|
RestartSec=5
 | 
						|
StartLimitInterval=0
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |