summaryrefslogtreecommitdiff
path: root/pcr/syncthing/syncthing.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-05 13:40:02 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-05 13:40:02 -0300
commit8ef2470e15ed1a7ee4b7b9fa56f9d3503e271aad (patch)
treef9e4298044e164b84c0c7246961468e3c7fad75e /pcr/syncthing/syncthing.install
parent1c5020a76492707a59fe684bc5294e6a34124e5a (diff)
syncthing: it goes on pcr
Diffstat (limited to 'pcr/syncthing/syncthing.install')
-rw-r--r--pcr/syncthing/syncthing.install28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/syncthing/syncthing.install b/pcr/syncthing/syncthing.install
new file mode 100644
index 000000000..e400b9ba7
--- /dev/null
+++ b/pcr/syncthing/syncthing.install
@@ -0,0 +1,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
+}