Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236014
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: $PATH problem |
| Date | 2021-06-12 04:00 +0200 |
| Message-ID | <Cp16h-aI-1@gated-at.bofh.it> (permalink) |
| References | <CoWgi-5Lj-9@gated-at.bofh.it> <CoWJj-6aA-3@gated-at.bofh.it> <CoYBr-7hX-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 11, 2021 at 04:09:35PM -0700, Gary L. Roach wrote: > I rebooted the system and then ran: > > * systemctl status backuppc.service** > **● backuppc.service - LSB: Launch backuppc server** > ** Loaded: loaded (/etc/init.d/backuppc; generated)** Ouch! > ** Active: active (running) since Fri 2021-06-11 15:59:17 PDT; 6min ago** > ** Docs: man:systemd-sysv-generator(8)** > ** Process: 706 ExecStart=/etc/init.d/backuppc start (code=exited, > status=0/SUCCESS)** > ** Tasks: 2 (limit: 4915)** > ** Memory: 26.9M** > ** CGroup: /system.slice/backuppc.service** > ** ├─764 /usr/bin/perl /usr/share/backuppc/bin/BackupPC -d** > ** └─765 /usr/bin/perl > /usr/share/backuppc/bin/BackupPC_trashClean* > > BackupPC seems to have loaded and started on boot up. Does this help. Yes, this is a good starting point. This particular service is launched by a legacy sysv init.d script. In many cases, these scripts will read a file in /etc/default/ which contains additional configuration. Let's see if I can find a copy of this package on sources.debian.org .... Here: <https://sources.debian.org/src/backuppc/3.3.2-2+deb10u1/> And then: <https://sources.debian.org/src/backuppc/3.3.2-2+deb10u1/init.d/src/debian-backuppc/> If I'm reading this correctly, this script doesn't read any config files from /etc/default/. If that's true, then you'll need to edit the init.d script itself to change its configuration. So: go ahead and edit /etc/init.d/backuppc (ouch!) knowing that your changes may be lost and need to be re-done when the package gets updated. Put your PATH=... command right in the script. Set it to whatever you need it to be. The Debian maintainer of this package could have done a few things differently to make this a little easier for you, but... they didn't. So here you are.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
$PATH problem "Gary L. Roach" <garyroach719@gmail.com> - 2021-06-11 22:50 +0200
Re: $PATH problem Greg Wooledge <greg@wooledge.org> - 2021-06-11 23:20 +0200
Re: $PATH problem "Gary L. Roach" <garyroach719@gmail.com> - 2021-06-12 01:20 +0200
Re: $PATH problem Bob Weber <bobrweber@gmail.com> - 2021-06-12 02:00 +0200
Re: $PATH problem Greg Wooledge <greg@wooledge.org> - 2021-06-12 04:00 +0200
Re: $PATH problem Bob Weber <bobrweber@gmail.com> - 2021-06-11 23:50 +0200
csiph-web