summaryrefslogtreecommitdiffstats
path: root/packaging/installer/methods/synology.md
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/installer/methods/synology.md')
-rw-r--r--packaging/installer/methods/synology.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/installer/methods/synology.md b/packaging/installer/methods/synology.md
index 1b743d164c..cc9b1aab4a 100644
--- a/packaging/installer/methods/synology.md
+++ b/packaging/installer/methods/synology.md
@@ -14,9 +14,11 @@ issue](https://github.com/SynoCommunity/spksrc/issues/2758), still open as of 20
Chroot package is not suitable for DSM versions greater than version 5 and may corrupt system libraries and render the
NAS unable to boot.
-The good news is that the 64-bit static installer works fine if your NAS is one that uses the amd64 architecture. It
+The good news is that the [64-bit static installer](kickstart-64.md) works fine if your NAS is one that uses the amd64 architecture. It
will install the content into `/opt/netdata`, making future removal safe and simple.
+## Run as netdata user
+
When Netdata is first installed, it will run as _root_. This may or may not be acceptable for you, and since other
installations run it as the `netdata` user, you might wish to do the same. This requires some extra work:
@@ -32,14 +34,18 @@ chown -R netdata:netdata /opt/netdata/var/lib/netdata /opt/netdata/var/cache/net
chown -R netdata:root /opt/netdata/var/log/netdata
```
+## Create startup script
+
Additionally, as of 2018/06/24, the Netdata installer doesn't recognize DSM as an operating system, so no init script is
installed. You'll have to do this manually:
1. Add [this file](https://gist.github.com/oskapt/055d474d7bfef32c49469c1b53e8225f) as `/etc/rc.netdata`. Make it
executable with `chmod 0755 /etc/rc.netdata`.
-2. Edit `/etc/rc.local` and add a line calling `/etc/rc.netdata` to have it start on boot:
+2. Add or edit `/etc/rc.local` and add a line calling `/etc/rc.netdata` to have it start on boot:
```conf
# Netdata startup
[ -x /etc/rc.netdata ] && /etc/rc.netdata start
```
+
+3. Make sure `/etc/rc.local` is executable: `chmod 0755 /etc/rc.netdata`.