Postfwd not starting at startup

phil at philfixit.com.au phil at philfixit.com.au
Sun Dec 22 21:54:04 UTC 2024


Apologies for off list reply

Hi Colin,

Yes i definately ran that when i was installing postfwd, i wonder why it 
wouldn't have enabled the service at that time.

Running the command again now and of course it enabled it no problem.

Thanks Phil



On 23/12/24 08:45, Colin Law wrote:
> 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