aboutsummarylogtreecommitdiffstats
path: root/duplicati.install
blob: 893045e05f65f2ba02e6e6ea31013256121c286c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  post_upgrade
}

post_upgrade() {
  systemd-sysusers 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
}