summarylogtreecommitdiffstats
path: root/dailyflow.install
blob: 68121e7fcd5086ac7a654f41a0ba24a11e6d311b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
  cat <<'EOF'
==> DailyFlow installed.
==> The package ships with an empty config file at /etc/dailyflow/config.conf.
==> Initialize it with:
    dailyflow -c /etc/dailyflow/config.conf -setdir /path/to/Daily
    dailyflow -c /etc/dailyflow/config.conf -setuser <username>
    dailyflow -c /etc/dailyflow/config.conf -setpass
==> Enable and start the service with:
    systemctl enable --now dailyflow.service
EOF
}

post_upgrade() {
  cat <<'EOF'
==> DailyFlow upgraded.
==> If you have not configured /etc/dailyflow/config.conf yet, run:
    dailyflow -c /etc/dailyflow/config.conf -setdir /path/to/Daily
    dailyflow -c /etc/dailyflow/config.conf -setuser <username>
    dailyflow -c /etc/dailyflow/config.conf -setpass
EOF
}