Subject: The mailing list for listmasters using Sympa
List archive
- From: "Stefan Hornburg (Racke)" <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] wwsympa service problem
- Date: Sun, 23 Aug 2020 20:17:57 +0200
On 8/23/20 7:52 PM, Christian Stalberg wrote:
> 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
>
>
Try to remove /etc/init.d/sympa and run the three systemctl commands which I
posted.
Regards
Racke
> -----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.
>
>
>
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
Attachment:
signature.asc
Description: OpenPGP digital signature
-
[sympa-users] wwsympa service problem,
Christian Stalberg, 08/23/2020
-
Re: [sympa-users] wwsympa service problem,
Stefan Hornburg (Racke), 08/23/2020
-
RE: [sympa-users] wwsympa service problem,
Christian Stalberg, 08/23/2020
-
Re: [sympa-users] wwsympa service problem,
Stefan Hornburg (Racke), 08/23/2020
- RE: [sympa-users] wwsympa service problem, Christian Stalberg, 08/23/2020
-
Re: [sympa-users] wwsympa service problem,
Stefan Hornburg (Racke), 08/23/2020
-
RE: [sympa-users] wwsympa service problem,
Christian Stalberg, 08/23/2020
-
Re: [sympa-users] wwsympa service problem,
Stefan Hornburg (Racke), 08/23/2020
Archive powered by MHonArc 2.6.19+.