Set CutOS agent type for pi-web service
This commit is contained in:
@@ -139,6 +139,7 @@ Wants=network-online.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
User=$TARGET_USER
|
User=$TARGET_USER
|
||||||
Environment=HOME=$TARGET_HOME
|
Environment=HOME=$TARGET_HOME
|
||||||
|
Environment=AGENT_TYPE=cutos-agent
|
||||||
WorkingDirectory=$PI_HOME
|
WorkingDirectory=$PI_HOME
|
||||||
ExecStart=$pi_web_bin --no-open
|
ExecStart=$pi_web_bin --no-open
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
Reference in New Issue
Block a user