Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A sinking ship gathers no moss. -- Donald Kaul


dovenet / Synchronet Discussion / Re: systemd issues

SubjectAuthor
* systemd issuesKyonshi
`* systemd issuesDigital Man
 `- Re: systemd issuesKyonshi

1
systemd issues

<nrqi8k-7ge.ln1@moria.erebor.sync.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2013&group=DOVE-Net.Synchronet_Discussion#2013

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: kyonshi@VERT (Kyonshi)
To: alt.bbs.synchronet
Subject: systemd issues
Message-ID: <nrqi8k-7ge.ln1@moria.erebor.sync.net>
Date: Sun, 28 Jan 2024 21:43:05 +0100
X-Comment-To: alt.bbs.synchronet
Path: rocksolidbbs.com!not-for-mail
Organization: A noiseless patient Spider
Newsgroups: DOVE-Net.Synchronet_Discussion
X-FTN-PID: Synchronet 3.20a-Linux master/208b7e794 Jan 22 2024 GCC 12.2.0
X-FTN-MSGID: 51125.sync@1:103/705 2a1cc27a
X-FTN-CHRS: UTF-8 4
WhenImported: 20240128131901-0800 41e0
WhenExported: 20240128154811-0800 41e0
ExportedFrom: VERT sync 51125
Lines: 43
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="238b003fbd66a6f9659c3727e8120ba2";logging-data="110340"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+e5/Yktk79dAx6NCBndQRU"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:EbskM2xozjb6hp2XtTK2Rhdn0zg=
Content-Language: en-US
X-Received-Bytes: 2294
 by: Kyonshi - Sun, 28 Jan 2024 20:43 UTC

From Newsgroup: alt.bbs.synchronet

I am trying to get sbbs running as a systemd daemon, but for some reason
the manual on the wiki does not seem to work.
I copied this into the override file (this is from
https://gitlab.synchro.net/main/sbbs/-/raw/master/install/systemd/sbbs.service
as linked from the wiki):

[Unit]
Description=Synchronet BBS
Documentation=http://wiki.synchro.net/
After=syslog.target network-online.target

[Service]
Type=forking
NotifyAccess=all
Environment=SBBSCTRL=/sbbs/ctrl
User=sbbs
Group=sbbs
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/sbbs/exec/sbbs d
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=30
LimitNOFILE=10000

[Install]
WantedBy=multi-user.target

but no matter what I do I get the following answer back when reloading
the daemon and checking it:

sbbs@erebor:~ $ systemctl status sbbs
Warning: The unit file, source configuration file or drop-ins of
sbbs.service changed on disk. Run 'systemctl daemon-re>
� sbbs.service - Synchronet BBS
Loaded: bad-setting (Reason: Unit sbbs.service has a bad unit file
setting.)
Drop-In: /etc/systemd/system/sbbs.service.d
��override.conf
Active: inactive (dead)
Docs: http://wiki.synchro.net/
http://wiki.synchro.net/

does anyone know what to do in this case?
--- Synchronet 3.20a-Linux NewsLink 1.114
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

systemd issues

<65B6D265.51127.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2015&group=DOVE-Net.Synchronet_Discussion#2015

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Kyonshi
Subject: systemd issues
Message-ID: <65B6D265.51127.sync@vert.synchro.net>
Date: Sun, 28 Jan 2024 14:17:09 -0800
X-Comment-To: Kyonshi
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <nrqi8k-7ge.ln1@moria.erebor.sync.net>
References: <nrqi8k-7ge.ln1@moria.erebor.sync.net>
X-FTN-PID: Synchronet 3.20a-Win32 master/c7c06373a Jan 25 2024 MSC 1916
X-FTN-MSGID: 51127.sync@1:103/705 2a1cd01c
X-FTN-REPLY: 51125.sync@1:103/705 2a1cc27a
X-FTN-CHRS: CP437 2
WhenImported: 20240128141709-0800 41e0
WhenExported: 20240128154811-0800 41e0
ExportedFrom: VERT sync 51127
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sun, 28 Jan 2024 22:17 UTC

Re: systemd issues
By: Kyonshi to alt.bbs.synchronet on Sun Jan 28 2024 09:43 pm

> From Newsgroup: alt.bbs.synchronet
>
> I am trying to get sbbs running as a systemd daemon, but for some reason
> the manual on the wiki does not seem to work.
> I copied this into the override file (this is from https://gitlab.synchro.ne
> t/main/sbbs/-/raw/master/install/systemd/sbbs.service as linked from the
> wiki):

That sounds incorrect. THe override file is for any *changes* you want from the default contents of the service/unit file (sbbs.service).

> but no matter what I do I get the following answer back when reloading
> the daemon and checking it:
>
> sbbs@erebor:~ $ systemctl status sbbs
> Warning: The unit file, source configuration file or drop-ins of
> sbbs.service changed on disk. Run 'systemctl daemon-re>
> ¿ sbbs.service - Synchronet BBS
> Loaded: bad-setting (Reason: Unit sbbs.service has a bad unit file
> setting.)
> Drop-In: /etc/systemd/system/sbbs.service.d
> └─override.conf
> Active: inactive (dead)
> Docs: http://wiki.synchro.net/
> http://wiki.synchro.net/
>
> does anyone know what to do in this case?

Delete the override file.
--
digital man (rob)

Synchronet "Real Fact" #27:
Rob Swindell (digital man) was born approximately 4 hours before the Unix epoch
Norco, CA WX: 80.8°F, 22.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Re: systemd issues

<tl2j8k-po5.ln1@moria.erebor.sync.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2016&group=DOVE-Net.Synchronet_Discussion#2016

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: kyonshi@VERT (Kyonshi)
To: alt.bbs.synchronet
Subject: Re: systemd issues
Message-ID: <tl2j8k-po5.ln1@moria.erebor.sync.net>
Date: Sun, 28 Jan 2024 23:56:31 +0100
X-Comment-To: alt.bbs.synchronet
Path: rocksolidbbs.com!not-for-mail
Organization: A noiseless patient Spider
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65B6D265.51127.sync@vert.synchro.net>
References: <65B6D265.51127.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/208b7e794 Jan 22 2024 GCC 12.2.0
X-FTN-MSGID: 51128.sync@1:103/705 2a1cec45
X-FTN-REPLY: 51127.sync@1:103/705 2a1cd01c
X-FTN-CHRS: UTF-8 4
WhenImported: 20240128161717-0800 41e0
WhenExported: 20240128214813-0800 41e0
ExportedFrom: VERT sync 51128
Lines: 35
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="3d36f993831f48368ece1c11816facdd";logging-data="147665"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fMs1/J5f9U6zW1f8LAzFM"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4vyLwayPnitC/SRpI+AqO7j6yWo=
Content-Language: en-US
X-Received-Bytes: 2541
 by: Kyonshi - Sun, 28 Jan 2024 22:56 UTC

From Newsgroup: alt.bbs.synchronet

On 1/28/2024 11:17 PM, Digital Man wrote:
> To: Kyonshi
> Re: systemd issues
> By: Kyonshi to alt.bbs.synchronet on Sun Jan 28 2024 09:43 pm
>
> > From Newsgroup: alt.bbs.synchronet
> >
> > I am trying to get sbbs running as a systemd daemon, but for some reason
> > the manual on the wiki does not seem to work.
> > I copied this into the override file (this is from https://gitlab.synchro.ne
> > t/main/sbbs/-/raw/master/install/systemd/sbbs.service as linked from the
> > wiki):
>
> That sounds incorrect. THe override file is for any *changes* you want from the default contents of the service/unit file (sbbs.service).
>
> > but no matter what I do I get the following answer back when reloading
> > the daemon and checking it:
> >
> > sbbs@erebor:~ $ systemctl status sbbs
> > Warning: The unit file, source configuration file or drop-ins of
> > sbbs.service changed on disk. Run 'systemctl daemon-re>
> > � sbbs.service - Synchronet BBS
> > Loaded: bad-setting (Reason: Unit sbbs.service has a bad unit file
> > setting.)
> > Drop-In: /etc/systemd/system/sbbs.service.d
> > ��override.conf
> > Active: inactive (dead)
> > Docs: http://wiki.synchro.net/
> > http://wiki.synchro.net/
> >
> > does anyone know what to do in this case?
>
> Delete the override file.

Ok, I misread the wiki page completely. Now it works.
--- Synchronet 3.20a-Linux NewsLink 1.114
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor