BackupPC-users

Re: [BackupPC-users] systemd init for version 4?

2017-03-10 16:48:37
Subject: Re: [BackupPC-users] systemd init for version 4?
From: "Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]" <mark.moorcroft AT nasa DOT gov>
To: "backuppc-users AT lists.sourceforge DOT net" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 10 Mar 2017 21:48:01 +0000

 

Awesome news. I have been waiting for this day for 10+ years.

 

Thanks

 

 

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

 

--

Contractor: AMA Incorporated

Mark Moorcroft – Lead Admin

ESTRAD Linux Computer Support

Trouble Tickets - tssupport AT dactyl.arc.nasa DOT gov

NASA Ames Research Center

Moffett Field, CA 94035-1000

N230/108 (MS N230-1)

Desk Phone # +1-650-604-4784

------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>