Skip to content

Run the frog backend server with an cli option.#242

Open
linhtutkyawdev wants to merge 1 commit intoTenderOwl:masterfrom
linhtutkyawdev:master
Open

Run the frog backend server with an cli option.#242
linhtutkyawdev wants to merge 1 commit intoTenderOwl:masterfrom
linhtutkyawdev:master

Conversation

@linhtutkyawdev
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant