Frog icon indicating copy to clipboard operation
Frog copied to clipboard

Run the frog backend server with an cli option.

Open linhtutkyawdev opened this issue 6 months ago • 1 comments

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).

image

linhtutkyawdev avatar Jul 08 '25 10:07 linhtutkyawdev

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

linhtutkyawdev avatar Jul 09 '25 14:07 linhtutkyawdev