Open RVGamer06 opened 2 months ago
First of all (if the problem is still existent for you), I would recommend you use deno task compile
to compile it into a single executable and then run that. It would remove the requirement for deno.
But regarding the actually issue:
stdout
and from some quick research it's absolutely normal to add supervisor=supervise-daemon
to catch that.
This is the service configuration file i made for running Silverbullet at boot with OpenRC.
!/sbin/openrc-run
name=silverbullet description="Silverbullet" supervisor="supervise-daemon"
command=/usr/bin/deno command_user=www:www command_args="run -A --unstable --unstable-kv --reload https://get.silverbullet.md /mnt/disco/silverbulletmd -L0.0.0.0"
depend() { need net after firewall }
Without the
supervisor="supervise-daemon"
line, deno still binds to the CLI and i have to terminate or background it manually to return to CLI. But with this line, deno can't start and silverbullet does not either. Any suggestions on how to make it run as daemon WITHOUT Docker?