> Am 27.11.2023 um 17:54 schrieb 'Kenyon Ralph' via Puppet Users
> <[email protected]>:
>
> The service restarts manually fine with service amavis restart
>
> The question is not why it died but how to get it running again using Puppet.
>
> Puppet simply runs systemctl start amavis if you have ensure => running. If
> it is dying, it most likely has nothing to do with Puppet.
sure, Puppet is not involved in the dying. But my problem is, why it is not
restarting the service. When I had the problem,
service amavis start did not work, but service amavis restart did. So I changed
my declaration to
service { 'amavis':
hasrestart => true,
ensure => running
}
Perhaps this will work better.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/46ED7143-7DA2-4334-A16D-D4EE48608F58%40gmail.com.