All Projects → OneCDOnly → RunLast

OneCDOnly / RunLast

Licence: GPL-3.0 license
run custom shell-scripts after QTS NAS QPKG re-integration.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to RunLast

sherpa
a mini-package-manager for QNAP NAS
Stars: ✭ 63 (+173.91%)
Mutual labels:  qnap, qpkg
python-qnapstats
Python API for obtaining QNAP NAS system stats
Stars: ✭ 45 (+95.65%)
Mutual labels:  qnap
TS-453Be
Ubuntu on QNAP TS-453Be
Stars: ✭ 48 (+108.7%)
Mutual labels:  qnap
qnapdisplay
Qnap lcd python module, features both writing to the display as wel as reading keypresses from the panel keys. It was developed on a Qnap TS-459 and a TS-453A, it works on some other models as well.
Stars: ✭ 37 (+60.87%)
Mutual labels:  qnap
Pyload
The free and open-source Download Manager written in pure Python
Stars: ✭ 2,393 (+10304.35%)
Mutual labels:  qnap

icon

Description

RunLast creates an environment to run commands or shell-scripts after QPKG re-integration during QTS NAS bootup.

This allows you to run scripts dependent on QPKGs during QTS startup.

What it does

This package creates two scripts directories in the package installation path:

  • init.d
  • scripts

Place SysV-style scripts in init.d directory. These will be executed with start parameter after NAS startup, and with stop parameter before NAS shutdown. Scripts in scripts directory will be executed only during startup, and always after the custom init.d start script execution.

To jump to the scripts directory:

cd $(getcfg RunLast Scripts_Path -f /etc/config/qpkg.conf)

Or, to jump to the init.d directory:

cd $(getcfg RunLast SysV_Path -f /etc/config/qpkg.conf)

During script execution, stdout and stderr are stored into a log file, which is viewable via the QTS UI.

How to install

  1. Download the latest QPKG version here: https://github.com/OneCDOnly/RunLast/tree/main/build

  2. Install the QPKG manually in your App Center: img

Notes

  • When this package is installed, there's not much to see. Find the package icon and click the 'Open' button to display the current log file - any output from your scripts will be shown here.

  • The log is viewable via your web browser but is not a real web document, so it can change without your browser noticing. Whenever viewing the log, ensure you force a page refresh: CTRL+F5.

  • Changelog

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].