Open vitsalis opened 9 months ago
Directly use the systemctl standard service format, for reference only
[Unit]
Description=FPD daemon
After=network-online.target
[Service]
User=root
ExecStart=/root/go/bin/fpd start
Restart=always
RestartSec=10
LimitNOFILE=infinity
Environment="DAEMON_NAME=fpd"
Environment="DAEMON_HOME=/root/.fpd"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
[Install]
WantedBy=multi-user.target
Someone should be able to reload the finality provider daemon if they want to update the values of their config