thttpd does not remove its pidfile when it dies, so a crash left the file behind pointing at a dead pid. The boot guard only tested that the file existed, concluded the server was up and skipped the restart, so nothing was listening while the loader carried on and reported an ip. That is the connection refused on a running system. Test the pid with kill -0 instead and clear the file before restarting. The shipped init script had no monitor loop to catch this later, and its stop() bailed out with FAIL when the pidfile was missing, so restart could not recover a thttpd that was running without one. Fall back to killall in that case, and never signal a recorded pid that is no longer alive since the number may have been recycled. loaderPorts compared the new port against HTTPPORT, which arc.conf had already been rewritten to hold, so the restart was skipped on a real change. Capture the running port before the rewrite.
Arc is a customized Redpill Loader for DSM 7.x (Xpenology) with enhanced hardwaresupport, addons, guided (semi-automated) installation and more. Multiple customization options are built-in. It is modified to run on different hardware (More informations in wiki).
-
Arc and DSM are independent from each other! Arc is a Boothelper for DSM.
-
Commercial use is not permitted and strictly forbidden!!!
-
DSM and all parts of it are under Copyright / Ownership by Synology Inc.
-
Arc is based on full DSM and not vDSM.
-
Any user-specific custom modification of the tested & prebuilt bootloader images could potentially cause irreversible data destruction.
-
I'm not responsibly liable for damage or personal loss of any types.
-
The project with its affiliation is released for educational and learning purpose only.
-
The Loader is free and will be free forever! If you paid for it to an suspicious person, i can't help you. Because i'm not connected to them!
Arc Project
-
Arc Loader <- Loader with guided Installation for different Models
-
Arc Loader Essential <- Arc Loader with reduced size and only for Linux 5.x model
-
Arc Loader Beta <- Beta Release of Arc
-
Arc Loader Custom <- Loader with automated Installation
-
FAQ & Wiki <- Read me first!!!
Arc Control
- Arc Control (DSM App for Arc Loader)
Arc Utilties
- Arc Utilities (Useful Tools to install DSM Apps on Xpenology)
Developer
Thanks
Code is based on the work of TTG, pocopico, jumkey, fbelavenuto, wjz304 and others involved in continuing TTG's original redpill-load project.