On Fri, Mar 10, 2017 at 12:27 PM, Moorcroft, Mark (ARC-TS)[Analytical
Mechanics Associates, INC.] <mark.moorcr...@nasa.gov> wrote:
>
>
> I’m curious since el7 has been the current OS for a pretty long time why
> the “new” version of BackupPC defaults to init.d? I will probably wait for
> the epel package to appear before I upgrade. But I gave consideration to
> piecing together a 4.x install to replace 3.x, but locate things so when
> the package arrives I can migrate to yum managed updates. Is there a
> backuppc.service file in the git repo, or is it left to the user to come up
> with that?
>
The current Fedora / EPEL package supplies a SystemD unit file but it uses
type=oneshot which I don't agree with (although it works). I'm currently
working on taking over maintenance of the package since the current
maintainer doesn't really use it anymore. I plan on changing the service
file to:
# systemctl cat backuppc.service
# /etc/systemd/system/backuppc.service
[Unit]
Description= BackupPC server
After=syslog.target local-fs.target remote-fs.target
[Service]
Type=forking
User=backuppc
Group=backuppc
ExecStart=/usr/share/BackupPC/bin/BackupPC -d
PIDFile=/var/run/BackupPC/BackupPC.pid
[Install]
WantedBy=multi-user.target
Keep in mind that the package patches the location of the pid file as 3.X
put it in the log directory ($logDir or something like that).
Thanks,
Richard
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/