mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update agentdvr-install.sh
- change service name - fixes https://github.com/tteck/Proxmox/issues/2379
This commit is contained in:
		
							parent
							
								
									bd3321fd8c
								
							
						
					
					
						commit
						e690bcf08f
					
				| 
						 | 
					@ -36,7 +36,7 @@ chmod +x ./Agent
 | 
				
			||||||
msg_ok "Installed AgentDVR"
 | 
					msg_ok "Installed AgentDVR"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Creating Service"
 | 
					msg_info "Creating Service"
 | 
				
			||||||
cat <<EOF >/etc/systemd/system/agentdvr.service
 | 
					cat <<EOF >/etc/systemd/system/AgentDVR.service
 | 
				
			||||||
[Unit]
 | 
					[Unit]
 | 
				
			||||||
Description=AgentDVR
 | 
					Description=AgentDVR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,7 +51,7 @@ RestartSec=5
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
WantedBy=multi-user.target
 | 
					WantedBy=multi-user.target
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
systemctl enable -q --now agentdvr.service
 | 
					systemctl enable -q --now AgentDVR.service
 | 
				
			||||||
msg_ok "Created Service"
 | 
					msg_ok "Created Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
motd_ssh
 | 
					motd_ssh
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue