summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-01-09 19:33:51 -0800
committerDonald Webster2019-01-09 19:33:51 -0800
commite3c41043986dde3d7c0a7cb869489d99ad2849fe (patch)
tree9d5a26a706acb2817cd4c6975312762fdee6507b
parent7346c912eb264742ae0fff6ffa31fb1ce921e96a (diff)
downloadaur-e3c41043986dde3d7c0a7cb869489d99ad2849fe.tar.gz
Convert tabs to spaces, remove trailing and empty spaces.
-rw-r--r--rslsync.install66
1 files changed, 32 insertions, 34 deletions
diff --git a/rslsync.install b/rslsync.install
index 223ea6af4809..a64f8ceb005b 100644
--- a/rslsync.install
+++ b/rslsync.install
@@ -1,55 +1,53 @@
post_install() {
- post_upgrade
+ post_upgrade
}
post_upgrade() {
cat << EOF
- WebGUI can be accessed via following URL: http://localhost:8888
-
- * Running rslsync system instance (using dedicated rslsync:rslsync account)
+ WebGUI can be accessed via following URL: http://localhost:8888
+
+ * Running rslsync system instance (using dedicated rslsync:rslsync account)
- System instance of rslsync is preconfigured (configuration file located
- at /etc/rslsync.conf) and can be used directly after installation.
+ System instance of rslsync is preconfigured (configuration file located
+ at /etc/rslsync.conf) and can be used directly after installation.
- Execute:
+ Execute:
- to reload system systemd modules: systemctl daemon-reload
- to start rslsync manually: systemctl start rslsync
- to autostart rslsync on system start: systemctl enable rslsync
+ to reload system systemd modules: systemctl daemon-reload
+ to start rslsync manually: systemctl start rslsync
+ to autostart rslsync on system start: systemctl enable rslsync
- * Running rslsync user instance (using current user account)
+ * Running rslsync user instance (using current user account)
- User instance MUST be configured before use. To perform configuration,
- install rslsync-autoconfig package or follow manual configuration steps:
+ User instance MUST be configured before use. To perform configuration,
+ install rslsync-autoconfig package or follow manual configuration steps:
- 1. Copy /etc/rslsync/rslsync.conf to ~/.config/rslsync/rslsync.conf for
- the user you wish to configure rslsync:
-
- mkdir -p ~/.config/rslsync
- cp /etc/rslsync.conf ~/.config/rslsync/rslsync.conf
+ 1. Copy /etc/rslsync/rslsync.conf to ~/.config/rslsync/rslsync.conf for
+ the user you wish to configure rslsync:
+
+ mkdir -p ~/.config/rslsync
+ cp /etc/rslsync.conf ~/.config/rslsync/rslsync.conf
- 2. Replace user-specific references with the appropriate information,
- including the following settings:
+ 2. Replace user-specific references with the appropriate information,
+ including the following settings:
- - storage_path
- - pid_file
- - webui.listen
- - webui.login
- - webui.password
+ - storage_path
+ - pid_file
+ - webui.listen
+ - webui.login
+ - webui.password
- 3. Make sure folder you specified as storage_path and folder where pid_file will
- be located both exist in the filesystem, since rslsync will not create it for you.
+ 3. Make sure folder you specified as storage_path and folder where pid_file will
+ be located both exist in the filesystem, since rslsync will not create it for you.
- Execute:
-
- to reload user systemd modules: systemctl --user daemon-reload
- to start rslsync manually: systemctl --user start rslsync
- to autostart rslsync on user login: systemctl --user enable rslsync
+ Execute:
+ to reload user systemd modules: systemctl --user daemon-reload
+ to start rslsync manually: systemctl --user start rslsync
+ to autostart rslsync on user login: systemctl --user enable rslsync
EOF
-
}
post_remove() {
- echo -e "Please remove /var/lib/rslsync folder manually"
+ echo -e "Please remove /var/lib/rslsync folder manually"
}