blob: 5d4a7fecb7b8dddb4d30460d94b7bc1b1d721286 (
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
|
post_install() {
echo "To use rclone-bisync-manager:"
echo ""
echo "1. Set up the configuration:"
echo " - Copy the sample configuration file:"
echo " cp /usr/share/doc/rclone-bisync-manager/config.yaml.sexample ~/.config/rclone-bisync-manager/config.yaml"
echo " - Edit the configuration file to suit your needs:"
echo " nano ~/.config/rclone-bisync-manager/config.yaml"
echo ""
echo "2. To use as a user service:"
echo " a. Install the service file:"
echo " mkdir -p ~/.config/systemd/user"
echo " cp /usr/lib/systemd/user/rclone-bisync-manager.service ~/.config/systemd/user/"
echo ""
echo " b. Reload the systemd user daemon:"
echo " systemctl --user daemon-reload"
echo ""
echo " c. Enable and start the service:"
echo " systemctl --user enable --now rclone-bisync-manager.service"
echo ""
echo "3. To check the status of the service:"
echo " systemctl --user status rclone-bisync-manager.service"
echo ""
echo "For more information, please refer to the documentation."
}
post_upgrade() {
post_install
}
|