[arch-commits] Commit in syncthing/trunk (PKGBUILD syncthing.service)
Martin Wimpress
flexiondotorg at archlinux.org
Fri Oct 3 10:23:56 UTC 2014
Date: Friday, October 3, 2014 @ 12:23:56
Author: flexiondotorg
Revision: 120097
upgpkg: syncthing 0.9.19-2 - Implements FS#42103
Added:
syncthing/trunk/syncthing.service
Modified:
syncthing/trunk/PKGBUILD
-------------------+
PKGBUILD | 5 ++++-
syncthing.service | 11 +++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-03 10:19:14 UTC (rev 120096)
+++ PKGBUILD 2014-10-03 10:23:56 UTC (rev 120097)
@@ -6,7 +6,7 @@
pkgname=syncthing
pkgver=0.9.19
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
url="http://syncthing.net/"
license=('MIT')
@@ -15,9 +15,11 @@
makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
source=("$pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}"
"syncthing at .service"
+ "syncthing.service"
"syncthing.1")
sha1sums=('SKIP'
'204cad3823306c793a14a17a23220e26199160d4'
+ '2d3870eff21ad0724a48ba93e87064686693e3b9'
'17be8b3f99c577e325765abc251f597e204d7711')
install=${pkgname}.install
@@ -45,5 +47,6 @@
install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -D -m 644 "${srcdir}/${pkgname}@.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
+ install -D -m 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
install -D -m 644 "${srcdir}/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
}
Added: syncthing.service
===================================================================
--- syncthing.service (rev 0)
+++ syncthing.service 2014-10-03 10:23:56 UTC (rev 120097)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Syncthing service for %u
+After=network.target
+
+[Service]
+Environment=STNORESTART=yes
+ExecStart=/usr/bin/syncthing
+Restart=on-success
+
+[Install]
+WantedBy=default.target
More information about the arch-commits
mailing list