if you use pm2 to monitor and run the pool server add these lines to your pm2 system startup file in /etc/systemd/system
ExecStartPre=/usr/bin/timeout 360 sh -c 'while ! komodo-cli -rpcport=7771 getinfo | jq -r '.synced' | grep -q true; do sleep 3; done'
ExecStartPost=/usr/bin/timeout 360 sh -c 'while ! komodo-cli -rpcport=7771 getinfo | jq -r '.synced' | grep -q true; do sleep 3; done'
this checks to make sure komodo daemon is synced before starting pool server. On reboot i have problems starting pool server when the node wallet isnt up and synced. this solves that problem.
it does requre "jq" just sudo apt install jq
to install it.
Modify the -rpcport=7771
to your rpc komodo port.