(29-Dec-2024, 09:38 PM)agent_kith Wrote: Hmmm. Can you show me the contents of /etc/systemd/system/snakeoil-rest.service? I have moved Snakeoil API to start after the network is online now. And that worked for me, and it should work for your case too.
Code:
[Unit]
Description=Snakeoil RestAPI server
Wants=network-online.target
After=network.target network-online.target
[Service]
User=root
WorkingDirectory=/var/www/
ExecStart=/usr/local/bin/snakeoil-server.sh
# optional items below
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target