summaryrefslogtreecommitdiff
path: root/pcr/syncthing/syncthing.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 13:36:45 -0300
commitd1e161df4f6111d527c2570958ebaf637411e3e2 (patch)
tree4231f47e1699769d42f49cccde20687be979e89a /pcr/syncthing/syncthing.install
parent84b75f29126e52357bbdd40860269d9197fd68fd (diff)
parenta93d4a7da5c55af8f8669fdb63194c0680e0f748 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
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
+}