mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 03:13:15 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			504 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			504 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=OPENIM OPENIM RPC AUTH
 | 
						|
Documentation=https://github.com/OpenIMSDK/Open-IM-Server/blob/main/deployment/init/README.md
 | 
						|
 | 
						|
[Service]
 | 
						|
WorkingDirectory=${OPENIM_DATA_DIR}/openim-rpc-auth
 | 
						|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_DATA_DIR}/openim-rpc-auth
 | 
						|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_LOG_DIR}
 | 
						|
ExecStart=${OPENIM_INSTALL_DIR}/bin/openim-rpc-auth --config=${OPENIM_CONFIG_DIR}/openim-rpc-auth.yaml
 | 
						|
Restart=always
 | 
						|
RestartSec=5
 | 
						|
StartLimitInterval=0
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |