How to start a custom service on the NAS 325 v2
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
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight