On Tue, Mar 14, 2017 at 7:07 PM, Craig Barratt <
[email protected]> wrote:

> Richard,
>
> Both INT and TERM are handled the same way, so they should be equivalent.
>

Ok, back from a work trip so I can look at this again...

I should have mentioned I'm experimenting with my CentOS 7 w/ BackupPC 3.X
box but I'm not sure if it matters in this case.

In the systemd service file on github you have ExecStop set to send a
SIGHUP but that's used to reload config.pl and hosts, correct?

It seems no matter what signal I use I never get a clean exit 0 but a 1
which systemd interprets as a failure...

Also, with Systemd there's no requirement to fork so unless BackupPC needs
to fork for some reason then we could drop the '-d' and just use
Type=simple.

Thanks,
Richard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
  • [BackupPC-... Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]
    • Re: [... Richard Shaw
    • Re: [... Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]
      • R... Craig Barratt
        • ... Craig Barratt
          • ... Richard Shaw
            • ... Craig Barratt
              • ... Richard Shaw
                • ... Craig Barratt
                • ... Richard Shaw
                • ... Craig Barratt
    • Re: [... Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]
    • Re: [... Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]

Reply via email to