rename: rk3588-agent -> safesight-agent, update service dependencies
This commit is contained in:
parent
cfb03ffd39
commit
719d77f72e
@ -1,19 +0,0 @@
|
||||
[Unit]
|
||||
Description=RK3588 Agent Service
|
||||
After=network.target media-server.service
|
||||
Wants=media-server.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/rk3588-agent
|
||||
ExecStart=/opt/rk3588-agent/rk3588-agent --config /opt/rk3588-agent/agent.config.json
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=rk3588-agent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
19
scripts/deploy/safesight-agent.service
Normal file
19
scripts/deploy/safesight-agent.service
Normal file
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=RK3588 Agent Service
|
||||
After=network.target safesight-edge-server.service
|
||||
Wants=safesight-edge-server.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/safesight-agent
|
||||
ExecStart=/opt/safesight-agent/safesight-agent --config /opt/safesight-agent/agent.config.json
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=safesight-agent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue
Block a user