Up And Running

How to start running dVPN Sentinel

Ensure you have add sudoers, refer Sudo Management

Running in user (Assume) : salinem We never used this username in our production !

Create Systemd

Create file in ${HOME}/system/dvpn-node.service

export HOME="/mainnet/salinem"
cat > ${HOME}/systemd/dvpn-node.service  <<EOF
[Unit]
Description=dvpn node service
After=network-online.target

[Service]
User=salinem
ExecStart=${HOME}/bin/sentinelhub start 
Restart=on-failure
RestartSec=3
LimitNOFILE=500000
LimitNPROC=500000
Environment="HOME=${HOME}"


[Install]
WantedBy=multi-user.target

EOF

Linking to Systemd

ln -sf ${HOME}/systemd/dvpn-node.service /etc/systemd/system/

Reload Daemon

sudo systemctl daemon-reload

Enable Service when booting

sudo systemctl enable dvpn-node.service

Start Service

sudo systemctl start dvpn-node.service

Check Service

sudo systemctl status dvpn-node.service
sudo journalctl -fu dvpn-node.service

Last updated