You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ head rguard.service
[Unit]
Description=Reboot Guard
[Service]
# With the following default example, shutdown will ALWAYS be blocked
# This is because the "false" command will never succeed
# In this case, shutdown can only be unblocked by manually stopping/killing rguard.service
ExecStart=/usr/sbin/rguard --run false --interval 86400
#
# NOTE: The following ExecStart lines are EXAMPLES only; modify to suit your needs
The
rguard.service
file should do something out of the box instead of requiring you to configure it.I think the most intuitive thing would be for it to block shutdown as long as the service is running, e.g., via
--run false
.The text was updated successfully, but these errors were encountered: