- Set configs in .env
- Set configs in configs/main.yml
- run command
Make build
- Create systemd service /etc/systemd/system proxybroker.service
[Unit]
Description=Proxy broker service updater
After=network.target
[Service]
Restart=always
RestartSec=3
WorkingDirectory=/home/server/proxybroker/
ExecStart=/home/server/proxybroker/.bin/app
[Install]
WantedBy=multi-user.target
systemct start proxybroker