Re: [CentOS] Running script before reboot or shutdown

2021-01-06 Thread centos2
particularly if it's a different approach than what I found. On Tue, Dec 22, 2020, at 11:08, cent...@foxengines.net wrote: > > > On Tue, Dec 22, 2020, at 10:50, Carlos Lopez wrote: > > Thanks centos2 but regarding your example, I cannot see where you > > configure

Re: [CentOS] Running script before reboot or shutdown

2020-12-22 Thread centos2
On Tue, Dec 22, 2020, at 10:50, Carlos Lopez wrote: > Thanks centos2 but regarding your example, I cannot see where you > configure that this services needs to be stopped before anyone else I conveniently overlooked that requirement. I'll have to get back to you on that...

Re: [CentOS] Running script before reboot or shutdown

2020-12-22 Thread centos2
On Tue, Dec 22, 2020, at 08:12, cent...@foxengines.net wrote: > > > On Tue, Dec 22, 2020, at 07:56, J Martin Rushton via CentOS wrote: > > This could be the same issue that people run into when designing cron > > jobs. You may only have a limited set of directories on you $PATH > > Is this

Re: [CentOS] Running script before reboot or shutdown

2020-12-22 Thread centos2
Hi, On Tue, Dec 22, 2020, at 06:51, Carlos Lopez wrote: > I am trying to configure a script as a systemd service to run first when a > shutdown or reboot is called. This script execute some scp commands to copy > some files to other machines. My actual defined systemd’s file is: > > [Unit] > De

Re: [CentOS] Running script before reboot or shutdown

2020-12-22 Thread centos2
On Tue, Dec 22, 2020, at 07:56, J Martin Rushton via CentOS wrote: > This could be the same issue that people run into when designing cron > jobs. You may only have a limited set of directories on you $PATH Is this a systemd limit? On one of my systems I've got 233 directories (5445 non-col

Re: [CentOS] Invisible files and disk space

2020-10-08 Thread centos2
On Thu, Oct 08, 2020 at 06:38:55PM +0200, Simon Matter wrote: > > On Thu, Oct 08, 2020 at 11:12:54AM -0400, Yves Bellefeuille wrote: > >> cent...@foxengines.net wrote: > >> > >> > It's not working, I haven't been able to identify the files. They > >> aren't > >> > there. All attempts to measure dis

Re: [CentOS] Invisible files and disk space

2020-10-08 Thread centos2
On Thu, Oct 08, 2020 at 11:12:54AM -0400, Yves Bellefeuille wrote: > cent...@foxengines.net wrote: > > > It's not working, I haven't been able to identify the files. They > aren't > > there. All attempts to measure disk usage of / by files shows that the > > disk usage is only a percentage of avai

[CentOS] Invisible files and disk space

2020-10-08 Thread centos2
Hi All, I have an older CentOS 7.4 system that is used for computationally heavy work. It has a 32G root filesystem, of which 33% is consumed. Lately, one particular set of jobs (run through the SGE batch scheduler) seems to cause a peculiar condition to occur in which the root filesystem space i