![]() Start-stop-daemon -stop -quiet -oknodo -retry=0/30/KILL/5 -exec $DAEMON & Start-stop-daemon -stop -quiet -retry=TERM/30/KILL/5 -exec $DAEMON & Start-stop-daemon -start -quiet -exec /usr/bin/env $DAEMON - $DAEMON_ARGS & # Read configuration variable file if it is present Exit"Įcho " Error - Daemon file $DAEMON not found. # Path to Daemon Exit if Daemon binary is not installed or has no execution permissionsĮcho " Error - Daemon file $DAEMON has no execute permission. The following attached init script template is used to create the init script. The initialization script created under /etc/init.d is given the following name: ![]() The initialization script is then entered in the Linux system startup with the specified priority. The initialization script is created according to the default template unless a different template is specified in the app_info.json. ![]() ![]() When the app is started, an initialization/start script is automatically created and entered in the /etc/init.d directory. The start time (priority) of the Linux Daemon in the Linux system start can be defined via corresponding settings in the app_info.json. A daemon that is independent of the runtime is called a "Linux Daemon". After its activation, it is entered into the Linux system start and started independently of the runtime. A (Linux) Daemon can be integrated into a system in the form of an app. ![]()
0 Comments
Leave a Reply. |