blob: 55f14bec8b7e06451cb56377c83e544485eca868 (
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
29
30
|
#!/bin/bash
post_install() {
systemctl daemon-reload
cat << EOF
WebGUI can be accessed at http://localhost:8080
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() {
systemctl daemon-reload
}
post_remove() {
systemctl daemon-reload
}
|