[Frugalware-git] pacman-tools: as requested by vmiklos, restart syncpkgd when it fails.

James Buren ryuo at frugalware.org
Wed Aug 15 21:10:04 CEST 2012


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=26cd0e70544b8f9f29cf43f88fd6e45480edcee9

commit 26cd0e70544b8f9f29cf43f88fd6e45480edcee9
Author: James Buren <ryuo at frugalware.org>
Date:   Wed Aug 15 14:09:25 2012 -0500

as requested by vmiklos, restart syncpkgd when it fails.

diff --git a/syncpkgd/syncpkgd.service b/syncpkgd/syncpkgd.service
index 0ba2b85..067ef21 100644
--- a/syncpkgd/syncpkgd.service
+++ b/syncpkgd/syncpkgd.service
@@ -3,6 +3,8 @@ Description=Package builder daemon

[Service]
ExecStart=/usr/bin/syncpkgd -c /var/log/syncpkgd/clientlogs -l /var/log/syncpkgd/daemon.log -p /var/lib/syncpkgd.pid -s /var/lib/syncpkgd.status -u syncpkgd
+Restart=on-failure
+RestartSec=1s

[Install]
WantedBy=multi-user.target


More information about the Frugalware-git mailing list