When I looked as systemd some time ago there was some sort of backwards
compatibility hack that created a service at run-time if there were
sysv-init scripts present. Maybe that behaviour has changed in some way,
but in any case I have now added an [install] section.
I have just created a new subversion branch called V_2_2_1 that
incorporates a back-port of my unix-domain sockets work, the minor
tweaks from the V_2_2_fixes branch, and your systemd [install] section.
$ svn co https://svn.code.sf.net/p/emailrelay/code/branches/V_2_2_1
$ cd V_2_2_1
$ ./configure.sh -q
$ make
When I'm done testing I will close the feature request ticket and
probably release a v2.2.1 source tarball. I would welcome any feedback
via comments on the ticket.
Graeme
On 08/02/2022 18:49, Christoph Pleger wrote:
> Hello Graeme,
>
> I realized that emailrelay does not start automatically after a reboot.
> I guess that this is because both an init script and a systemd service
> file exist in the sources and the init script is overridden by the
> service. The problem can be solved by adding a section to the service
> file in the debian directory:
>
> [Install]
> WantedBy=multi-user.target
>
> Regards
> Christoph
>
>
>
> _______________________________________________
> emailrelay-help mailing list
> ema...@li...
> https://lists.sourceforge.net/lists/listinfo/emailrelay-help
>
|