Postfwd not starting at startup
Colin Law
clanlaw at gmail.com
Sun Dec 22 21:45:16 UTC 2024
On Sun, 22 Dec 2024 at 21:08, phil via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
>
> Hi
>
> I can't get postfwd to autostart at startup, i have to manually start it
> every time.
>
> I set STARTUP=1
> in
> /etc/default/postfwd
>
> and i tried
> Restart=always
> in
> /lib/systemd/system/postfwd.service
>
> Neither of which have the desired effect.
>
> Is there somewhere else to set it ?
The normal way to make a systemd script run on startup would be to run
sudo systemctl enable postfwd
sudo systemctl status postfwd
will tell you whether it is currently enabled.
Colin L
>
> Googling doesn't produce much in the way of results for anything to do
> with postfwd.
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04.5 LTS
> Release: 22.04
> Codename: jammy
>
> $ postfwd -V
> postfwd2 1.35 (Net::DNS 1.33, Net::Server 2.009, Sys::Syslog 0.36,
> Time::HiRes 1.9767, Storable: 3.23, Perl 5.034000 on linux)
>
> Cheers Phil
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list