On Tue, 4 May 2021 18:44:12 -0400 Greg Wooledge <g...@wooledge.org> wrote:
> On Tue, May 04, 2021 at 10:14:45PM +0100, Joe wrote: > > ...and buster. It's exim4.service as stated by: > > systemctl --type=service | grep exim > > According to packages.debian.org[1] there is no such file in any > package. > > Of course, that's not proof of the nonexistence of such a file, > because it might have been created by some postinst script. In > theory. > > Could you kindly tell us what "systemctl status exim4.service" says > on this buster machine of yours? Perhaps your command is turning up > one of the automatically converted init.d scripts. If so, this will > be made clear in the systemctl status report. ● exim4.service - LSB: exim Mail Transport Agent Loaded: loaded (/etc/init.d/exim4; generated) Active: active (running) since Wed 2021-03-31 08:38:00 BST; 1 months 4 days ago Docs: man:systemd-sysv-generator(8) Tasks: 1 (limit: 2062) CGroup: /system.slice/exim4.service └─6453 /usr/sbin/exim4 -bd -q30m > > It would also be helpful to know which of the multiple different exim4 > package sets you're working with. Probably worth mentioning that this is on a Raspberry Pi, the current version of RasPiOs (formerly Raspbian) with a default exim4 installation. sudo dpkg -l | grep exim ii exim4 4.92-8+deb10u5 all metapackage to ease Exim MTA (v4) installation ii exim4-base 4.92-8+deb10u5 armhf support files for all Exim MTA (v4) packages ii exim4-config 4.92-8+deb10u5 all configuration for the Exim MTA (v4) ii exim4-daemon-light 4.92-8+deb10u5 armhf lightweight Exim MTA (v4) daemon > Perhaps this alleged exim4.service > comes from the -heavy daemon package. All I can tell you is that on > the buster system that I checked, which is using the > exim4-daemon-light package, there is *no* exim4.service, but there > *is* an init.d script, and systemctl status exim4 shows this plainly. > > [1] > https://packages.debian.org/search?searchon=contents&keywords=exim4.service&mode=exactfilename&suite=stable&arch=any > I have the same service on my main server (stretch) where it is the network MTA and also on my sid workstation. Again, I didn't do anything to achieve this. Presumably it's using an init.d script, but it certainly works to start and stop exim4 via systemctl. -- Joe