Skip to Content.
Sympa Menu

en - RE: [sympa-users] wwsympa service problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Christian Stalberg" <address@concealed>
  • To: "'Stefan Hornburg \(Racke\)'" <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] wwsympa service problem
  • Date: Sun, 23 Aug 2020 10:52:13 -0700

Thank you! Okay, what is this telling me please (see below)?


root@localhost:/# systemctl cat wwsympa.service
# /lib/systemd/system/wwsympa.service
# Automatically generated by systemd-sysv-generator

[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/wwsympa
Description=SYSV: sympa is a powerful mailing lists management system.

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/etc/init.d/wwsympa start
ExecStop=/etc/init.d/wwsympa stop


-----Original Message-----
From: address@concealed
<address@concealed> On Behalf Of Stefan Hornburg (Racke)
Sent: Sunday, August 23, 2020 10:31 AM
To: address@concealed
Subject: Re: [sympa-users] wwsympa service problem

On 8/23/20 3:48 PM, Christian Stalberg wrote:
> Running Debian 10, Sympa 6.2.56 & Mysql 8.13-1
>
> I placed wwsympa.service in /lib/systemd/system
>
> /etc/init.d# update-rc.d wwsympa defaults

That's a command for SysV init scripts, not for systemd units.

After adding an unit file for a service you run the following commands:

systemctl daemon-reload
systemctl enable wwsympa.service
systemctl start wwsympa.service

>
> However now when I try and enable the service I get an error
>
> /etc/init.d# systemctl enable wwsympa.service Synchronizing state of
> wwsympa.service with SysV service script with
> /lib/systemd/systemd-sysv-install.
> Executing: /lib/systemd/systemd-sysv-install enable wwsympa
> update-rc.d: error: wwsympa Default-Start contains no runlevels, aborting.
> /etc/init.d# ls -l /etc/rc?.d/*wwsympa
> ls: cannot access '/etc/rc?.d/*wwsympa': No such file or directory
>
>
> What am I doing wrong?
>
>

Try

systemctl cat wwsympa.service

to find out what systemd knows about your unit.

Regards
Racke

--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.





Archive powered by MHonArc 2.6.19+.

Top of Page