Hi Carlos,
Don't know if you ever found a solution to the problem you described below but
I think I came across the concept for this that might work. I'm more of a
systemd dilettante than a systemd expert but I found confirmation that this
approach isn't totally hare-brained. While trying to f
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...
> On 22/
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
Thanks centos2 but regarding your example, I cannot see where you
configure that this services needs to be stopped before anyone else
On 22/12/20, 15:22, "CentOS on behalf of cent...@foxengines.net"
wrote:
Hi,
On Tue, Dec 22, 2020, at 06:51, Carlos Lopez wrote:
> I am t
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
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
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 and
other environment variables may be missing. If this is the case, ensure
that you define the full path to utilies:
MYPROG="/home/carlos/myprog"
Hi all,
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]
Description=Remote copy some files before reboot/shutdown
Befo
8 matches
Mail list logo