Re: SystemD service type?
Craig Barratt <[email protected]> Sat, 18 Mar 2017 08:46:28 -0700
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CADSzEFiyWaU1HAfZA=y-qTZmh-iwFWxEmnKW-1064J0mjV6Gbg@mail.gmail.com> |
Copying reply to users list: I just pushed to git (https://github.com/backuppc/backuppc/commit/ 51e579bae854ec78573cff9c3ff36ee589286502) these changes: - BackupPC exits with status 0 on TERM signal - systemd file now uses Type=simple, dropped the -d, and TERM signal to terminate Craig On Sat, Mar 18, 2017 at 5:36 AM, Richard Shaw <[email protected]> wrote: > Since Systemd does not require a service to fork, would it be cleaner to > just call BackupPC without the "-d" option and use "Type=simple"? > > Then we wouldn't even need a pid file... > > 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-devel mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/