How to start a custom service on the NAS 325 v2
Options
rozelak
Posts: 1
Hello
I have the Zyxel NSA325 v2 NAS storage with the original firmware version: V4.81(AALS.1)
Now I want to run syncthing application on it. The syncthing is not originally supported by the packages available, but it works without problems on my NAS when unpacked and started manually.
What I need is to start the syncthing automatically when the NAS boots up. I have created 'syncthing' init script, but I am not able to plug it into the boot sequence. First, I have copied it into '/etc/init.d', but it disappeared from there every new boot. Then I installed it into '/usr/local/zy-pkgs/etc/init.d/', when it remains, but it still is not started (manual start by calling '/usr/local/zy-pkgs/etc/init.d/syncthing start' works, though).
Don't you know, what I am missing? Is there something, which must be carried out to convince the init system to call the startup script?
Thank you very much.
#NAS_Jan_2019
#NAS_Jan_2019
0
All Replies
-
You created your script to obey the canonical commands 'start' and 'stop'? That's not the ZyXEL way. It should be 'startup' and 'shutdown'. Don't ask me why.(Don't bother about the other 3 commands. They are only needed for real packages)
0 -
Hi, could you possibly point me to a download of Syncthing that would work on a NSA320S? it would be awesome if I could get it running on my NAS. Thanks.0
-
Hello Rozelak,How did you manage to get syncthing running on nsa325 v2? You stated that you unpacked and started manually. What exactly did you unpack and where, and how did you start this manually?Grtz,jcwrh0
Categories
- All Categories
- 384 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 80 Nebula Status and Incidents
- 5.1K Security
- 79 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 909 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 209 Service & License
- 335 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.9K FAQ
- 898 Nebula FAQ
- 415 Security FAQ
- 234 Switch FAQ
- 205 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 137 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 73 About Community
- 62 Security Highlight