Try this: (surgemail.service)
[Unit]
Description=SurgeMail Email
Conflicts=sendmail.service exim.service postfix.service
[Service]
Type=forking
PIDFile=/usr/local/surgemail/surgemail.pid
ExecStart=/usr/local/surgemail/surgemail_start.sh
ExecStop=/usr/local/surgemail/surgemail_stop.sh
[Install]
WantedBy=multi-user.target
On 30/07/2020 12:52 pm, Lyle Giese wrote:
> Does anyone have a working systemd surgemail start/stop script? I have
> stumbled on this and know a couple of work arounds, but my
> understanding of systemd is lacking...
>
> Thanks,
>
> Lyle Giese
>
> LCR Computer Services, Inc.
>
>
--
p.s. We'd love a link from your website to our new domain: https://surgemail.com if/when u have time.
|