You might also find some useful examples in one of these posts - I know they’re about ReadyNAS installs, but it is Debian based and they do include init.d examples:
Enable SSH:
Log on to your ReadyNAS and create a new share.Give it the name Duplicati.
Enable SSH: Click System, Settings and click the SSH button.
Download and start PuTTY. Connect to your ReadyNAS (username: root, password: your admin user’s password).
Install Pre reqs:
Type the follow:
apt-get update
apt-get -y install apt-transport-https sudo nano git-core python python-software-properties software-properties-common
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key…
This article describes how I did get Duplicati working on a Netgear ReadyNAS. Due to my very limited Linux skills I suppose there are a number of things that could be done better, so feel free to comment what could be improved.
A ReadyNAS running ReadyNAS OS6 is required. Older models running RAIDiator (like the ReadyNAS Duo and ReadyNAS Ultra) are based on an ancient Debian version that doesn’t meet the minimum requirements for installing Duplicati.
Create a new shared folder. Give it the na…