From 58fe8b0cf1192b4d2c8bcc72f12ba7333e16c333 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 24 Nov 2014 13:59:59 +0100 Subject: [PATCH] Add example for Solaris SMF running --- etc/solaris-smf/README.md | 13 ++++++++++ etc/solaris-smf/syncthing.xml | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 etc/solaris-smf/README.md create mode 100644 etc/solaris-smf/syncthing.xml diff --git a/etc/solaris-smf/README.md b/etc/solaris-smf/README.md new file mode 100644 index 000000000..5179f019c --- /dev/null +++ b/etc/solaris-smf/README.md @@ -0,0 +1,13 @@ +This directory contains an example for running Syncthing under SMF on +Solaris. + + 1. Install the `syncthing` binary in a directory called `bin` in your + home directory. + + 2. Edit the `syncthing.xml` file in the two places that refer to your + username and home directory; that is, replace `jb` with your actual + username and `/home/jb` with your actual home directory location. + + 3. Load the service manifest, as a user with the appropriate rights. + `svccfg import syncthing.xml`. + diff --git a/etc/solaris-smf/syncthing.xml b/etc/solaris-smf/syncthing.xml new file mode 100644 index 000000000..a6d8a1e81 --- /dev/null +++ b/etc/solaris-smf/syncthing.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +