🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
1 messages
1 total messages Started by Sinless Remop Wed, 02 Feb 2022 18:33
Re:YAMN v2.0.5 and Systemd service
#318347
Author: Sinless Remop
Date: Wed, 02 Feb 2022 18:33
27 lines
3051 bytes
On 2022-02-01 18:32, SEC3 wrote:

> yamn \
> chdir=/home/yamn/yamn,\
> stdout=/home/yamn/yamn/yamn.log,\
> stderr=/home/yamn/yamn/yamn.log,\
> pidfiles=/home/yamn/yamn,\
> command=/home/yamn/go/bin/yamn --dir=/home/yamn/yamn --remailer
>
> The process can then be started with:
> daemon --name=yamn
> And stopped with:
>daemon yamn --name=yamn --stop

Thank you for your response. Daemon looks good. I am now using it at sinless.

But it isn't really a replacement for Systemd service. For example it doesn't
start YAMN at boot time or in the event of a system crash.

I solved this by adding this cron job for user yamn.

@reboot /usr/bin/daemon --name=yamn

It is working pretty good so far. My OS is Debian 10.

Sinless Remop
remop@sinless.space
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads