summaryrefslogtreecommitdiff
path: root/community/syncthing/syncthing.install
blob: e400b9ba7a4c0697ac27a3169fd6cf6ad45814ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
cat << EOF
  WebGUI can be accessed at http://localhost:8080

  Execute

    systemctl daemon-reload

  to reload systemd modules.

  To start syncthing, execute:

    systemctl start syncthing@user

  where 'user' is your username.

  To autostart syncthing on system start, execute

    systemctl enable syncthing@user

  where 'user' is your username.

EOF
}

post_upgrade() {
    post_install
}