nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e09fa0bd55f42d93a3c174405da411706a7c885a
parent 8f0f1403e461b588596a8c34316ce5494f79540e
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Wed,  1 Jan 2020 12:35:02 +0100

optionally create a systemd service file

This is not installed so packagers can decide in which place they prefer to have
it installed.

Diffstat:
MMakefile | 6++++++
MTARGETS | 1+
Aqmail-send.service.in | 11+++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -1532,6 +1532,12 @@ qmail.h substdio.h qsutil.h prioq.h datetime.h gen_alloc.h constmap.h \ fmtqfn.h readsubdir.h direntry.h ./compile qmail-send.c +qmail-send.service: \ +qmail-send.service.in conf-qmail + cat qmail-send.service.in \ + | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \ + > qmail-send.service + qmail-showctl: \ load qmail-showctl.o uid.o gid.o auto_usera.o auto_userd.o auto_userl.o \ auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o \ diff --git a/TARGETS b/TARGETS @@ -399,3 +399,4 @@ envelopes.0 forgeries.0 setup qtmp.h +qmail-send.service diff --git a/qmail-send.service.in b/qmail-send.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=notqmail mail delivery daemons +After=local-fs.target network.target + +[Service] +ExecStart=QMAILHOME/bin/qmail-start ./Maildir/ splogger qmail +Environment=PATH=QMAILHOME/bin:${PATH} +Restart=always + +[Install] +WantedBy=multi-user.target