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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +