Please provide systemd service files for backuppc. There are 2 init files for openrc at the moment. backuppc for the daemon itself and apache2-backuppc for the webgui of backuppc. For backuppc itself I simply copied the one from fedora, it worked fine: [Unit] Description= BackupPC server daemon. After=syslog.target [Service] Type=oneshot User=backuppc Group=backuppc ExecStart=/usr/bin/BackupPC -d RemainAfterExit=yes [Install] WantedBy=multi-user.target But copying the one from apache2 and adjusting it for Backuppc didn't work. I always got no listening sockets available, shutting down Unable to open logs But there was only 1 Listen directive in /etc/Backuppc/httpd.conf. So I ended up adjusting the apache for backuppc by changing user and group (I only use this apache for backuppc), copying the necessary parts from /etc/Backuppc/httpd.conf to /etc/apache/mods.d/90_backuppc.conf and adjusting the APACHE_OPTS. Don't if you still want to seperate the webgui from apache or simply integrate it, with i.e. suexec so this vhost gets executed as user backuppc, or ptovide a working systemd service as I couldn't get it working. Thanks! Reproducible: Always
Where are you trying to get that apache unit file? Looks like Fedora is not supplying it with backuppc package: http://pkgs.fedoraproject.org/cgit/BackupPC.git/tree/backuppc.service
I wasn't trying to get the apache unit file for apache2-backuppc. From Fedora I only got the backuppc unit file. I was trying to adjust the apache unit file from gentoo to work with backuppc, as the openrc init.d file provided by gentoo for apache was adjusted to start apache which only starts the backuppc webinterface.
+*backuppc-3.2.1-r3 (01 Jul 2014) + + 01 Jul 2014; Pacho Ramos <pacho@gentoo.org> +backuppc-3.2.1-r3.ebuild, + +files/backuppc.service: + Add unit file (#513850 by thorus90) + Will go at least with this one... if you are able to prepare another one for launching apache, feel free to open a new bug attaching it Thanks
The service file is not currently being installed in backuppc-3.3.0. Could that be fixed?
+*backuppc-3.3.0-r1 (02 Dec 2014) + + 02 Dec 2014; Pacho Ramos <pacho@gentoo.org> +backuppc-3.3.0-r1.ebuild, + -backuppc-3.3.0.ebuild: + Install unit file again as looks like was dropped by error (#513850#c4 by Erik + Zeek) +