summarylogtreecommitdiffstats
path: root/silverbullet.install
blob: 17f90b1cd3b11a3ab7e8180414a180c70895a9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  cat <<-EOF

=> This package now supports running with a per-user service. The system-level
=> service will continue working as usual.
=>
=>   % systemctl --user enable --now silverbullet
=>
=> For user services, your notes are stored in ~/.local/share/silverbullet. If
=> you want to use another path or listen on another address, create an override:
=>
=>   % systemctl --user edit silverbullet
=>   [Service]
=>   Environment=DOCS=%h/docs/notes
=>   Environment=PORT=4242
=>   Environment=HOST=0.0.0.0

EOF
}

post_upgrade() {
  post_install
}