[Unit]
Description=Canger Home Ubuntu Outbound Node
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=canger-agent
Group=canger-agent
WorkingDirectory=/opt/canger-node
ExecStart=/usr/bin/python3 /opt/canger-node/canger_node.py --config /etc/canger-node/config.json run
Restart=always
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/etc/canger-node

[Install]
WantedBy=multi-user.target
