summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Dumont2020-01-29 09:45:50 -0500
committerJoey Dumont2020-01-29 09:45:50 -0500
commit50ea93454542a19d039da18b6ec73425d9299f21 (patch)
tree62f02e255d29db1817261f338a22ef8c86a44164
parent55cf0ee91ebd602525407774adc8527eef7e8c54 (diff)
downloadaur-50ea93454542a19d039da18b6ec73425d9299f21.tar.gz
New install script.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--duplicati.install5
3 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6bdc80f92dbf..0afdbe2a79aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = duplicati-latest
pkgdesc = A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers
pkgver = 2.0.5.101
- pkgrel = 1
+ pkgrel = 2
url = http://duplicati.com
install = duplicati.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a392f9919f11..174608a09cc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=duplicati-latest
pkgver=2.0.5.101
-pkgrel=1
+pkgrel=2
_date=2020-01-23
_branch=canary
pkgdesc='A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers'
diff --git a/duplicati.install b/duplicati.install
index a75634aaf054..f90cdcf45180 100644
--- a/duplicati.install
+++ b/duplicati.install
@@ -1,8 +1,11 @@
post_install() {
+ systemd-sysuers duplicati.conf
+ mkdir -p /var/lib/duplicati
+ chown -R duplicati:duplicati /var/lib/duplicati
+
cat << EOF
* UI can be accessed via following URL: http://localhost:8200
* Running duplicati user instance (using current user account)
- - to reload user systemd modules: systemctl --user daemon-reload
- to start duplicati manually: systemctl --user start duplicati
- to autostart duplicati on user login: systemctl --user enable duplicati
EOF