ify that what I mean by “preventing the computer from
> shutting down” is preventing the operator from inadvertently
> shutting down or rebooting the system while it is undergoing a
> backup.
I know this is an old thread, but here's something that might work.
I have a Wheezy system r
Thanks everybody for their help. I will use molly-guard to guard from
accidental shut down from the CLI. Is there something like molly-guard
for the LXDE power off/close session button?.
I must clarify that what I mean by “preventing the computer from
shutting down” is preventing the operator
Am 31.10.2014 um 07:07 schrieb Don Armstrong:
> On Thu, 30 Oct 2014, Joey Hess wrote:
>> Don Armstrong wrote:
>>> systemd-inhibit --who='backup script' --why='backup is running currently' \
>>> --mode=block yourbackupscript;
>>
>> This doesn't currently prevent either /sbin/shutdown or eg, the
>>
Mario Castelán Castro writes:
> Hello.
>
> I can set up a script for backup with cron or anacron, but how can I
> prevent the computer from shutting down while the backup is being
> performed so as to not to leave it incomplete?.
I'd try to fix the bug that makes it shut down. Do you have broke
also sprach Karl E. Jorgensen [2014-10-31 09:21 +0100]:
> Personally, I would have preferred molly-guard to use dpkg-divert,
> but it works as it is.
It does, since 0.5-1, but that needs to be uploaded still. I am
checking…
--
.''`. martin f. krafft @martinkrafft
: :' : proud Debian devel
Hi
On Thu, Oct 30, 2014 at 11:07:27PM -0700, Don Armstrong wrote:
> On Thu, 30 Oct 2014, Joey Hess wrote:
> > Don Armstrong wrote:
> > > systemd-inhibit --who='backup script' --why='backup is running currently'
> > > \
> > > --mode=block yourbackupscript;
> >
> > This doesn't currently prevent
On 30/10/14 at 12:11pm, Mario Castelán Castro wrote:
> Hello.
>
> I can set up a script for backup with cron or anacron, but how can I prevent
> the computer from shutting down while the backup is being performed so as to
> not to leave it incomplete?.
>
> Regards.
If I understand you request yo
On Thu, 30 Oct 2014, Joey Hess wrote:
> Don Armstrong wrote:
> > systemd-inhibit --who='backup script' --why='backup is running currently' \
> > --mode=block yourbackupscript;
>
> This doesn't currently prevent either /sbin/shutdown or eg, the
> lightdm menu item from shutting the system down. It
Hi
On Thu, Oct 30, 2014 at 02:02:49PM -0600, Mario Castelán Castro wrote:
> Thanks you Doug, Don and Laurent. Is there a less hacky way to do
> this using the default init system in wheezy?
I think that you can get *some* of the way by installing the
molly-guard package.
Although molly-guard is
Thanks you Doug, Don and Laurent. Is there a less hacky way to do this
using the default init system in wheezy?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5452
Don Armstrong wrote:
> On Thu, 30 Oct 2014, Mario Castelán Castro wrote:
> > I can set up a script for backup with cron or anacron, but how can I
> > prevent the computer from shutting down while the backup is being
> > performed so as to not to leave it incomplete?.
>
> If you're using systemd, t
El 30/10/14 12:31, Doug escribió:
On 10/30/2014 02:11 PM, Mario Castelán Castro wrote:
Hello.
I can set up a script for backup with cron or anacron, but how can I
prevent the computer from shutting down while the backup is being
performed so as to not to leave it incomplete?.
Regards.
One s
Hello.
I can set up a script for backup with cron or anacron, but how can I
prevent the computer from shutting down while the backup is being
performed so as to not to leave it incomplete?.
Regards.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubsc
Le Thu, 30 Oct 2014 12:11:25 -0600,
Mario Castelán Castro a écrit :
> Hello.
Hello,
> I can set up a script for backup with cron or anacron, but how can I
> prevent the computer from shutting down while the backup is being
> performed so as to not to leave it incomplete?.
If you are using sy
On Thu, 30 Oct 2014, Mario Castelán Castro wrote:
> I can set up a script for backup with cron or anacron, but how can I
> prevent the computer from shutting down while the backup is being
> performed so as to not to leave it incomplete?.
If you're using systemd, this can be done using systemd-inh
On 10/30/2014 02:11 PM, Mario Castelán Castro wrote:
Hello.
I can set up a script for backup with cron or anacron, but how can I prevent
the computer from shutting down while the backup is being performed so as to
not to leave it incomplete?.
Regards.
One simple way that does not require a
16 matches
Mail list logo