[Unit]
Description=Canger Singapore Control Plane
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=canger-control
Group=canger-control
WorkingDirectory=/opt/zhuyuan/cang-ying/remote-node
EnvironmentFile=/etc/canger-control.env
ExecStart=/usr/bin/python3 /opt/zhuyuan/cang-ying/remote-node/server/control_plane.py
Restart=always
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/canger-control

[Install]
WantedBy=multi-user.target
