Frog
Frog copied to clipboard
Run the frog backend server with an cli option.
I've added -s option to frog cli so that frog -e can work well without the gui.
This also let me execute the server as a service on startup and use keybindings from my hyprland to execute frog -e (without the need to run the app).
This is my systemd service profile for it so that it boots up on startup.
[Unit]
Description=Frog Server
After=network.target
[Service]
ExecStart=/usr/local/bin/frog -s
Restart=always
RestartSec=5s
# StandardOutput=syslog
# StandardError=syslog
# Or, if you prefer to log to a file:
# StandardOutput=append:/var/log/mynodeserver.log
# StandardError=append:/var/log/mynodeserver_error.log
[Install]
WantedBy=default.target