Re: Need a systemd unit example that checks /etc/fstab for modification and sends a text message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Feb 2022 at 12:27, Tony Rodriguez <unixpro1970@xxxxxxxxx> wrote:
>
>  From my understanding, it is frowned by systemd developers to
> "automatically" reload systemd via "systemctl daemon-reload" when
> /etc/fstab is modified.  Guessing this is why such functionality hasn't
> already been incorporated into systemd.  However, I would like to send a
> simple text message. Instructing users to manually invoke "systemctl
> deamon-reload" after modifying /etc/fstab via dmesg command or inside
> /var/log/messages.

Uh, if you really must, just put a comment inside /etc/fstab
explaining what to do?



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux