Services
Services
Init
In Unix-based computer operating systems, init (short for initialization) is the first process started during booting of the computer system. Init is a daemon process that continues running until the system is shut down. It is the direct or indirect ancestor of all other processes and automatically adopts all orphaned processes. Init is started by the kernel using a hard-coded filename; a kernel panic will occur if the kernel is unable to start it. Init is typically assigned process identifier 1. Wikipedia
root@edison:~# mkdir /etc/init.droot@edison:~# nano /etc/init.d/helloservice.sh#!/bin/sh
echo "Hello Service At Startup"root@edison:~# chmod 755 /etc/init.d/helloservice.sh
root@edison:~# update-rc.d helloservice.sh defaultsroot@edison:~# shutdown -r nowSystemD
systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. Homepage
systemd is an init system used by some Linux distributions to bootstrap the user space and manage all processes subsequently, instead of the UNIX System V or Berkeley Software Distribution (BSD) init systems. The name systemd adheres to the Unix convention of naming daemons by appending the letter d. Wikipedia
Systemd is an init system and system manager that is widely becoming the new standard for Linux machines. While there are considerable opinions about whether systemd is an improvement over the traditional SysV init systems it is replacing, the majority of distributions plan to adopt it or have already done so. DigitalOcean
Systemctl
systemctl — Control the systemd system and service manager. systemctl may be used to introspect and control the state of the "systemd" system and service manager. Homepage
systemctl command, the central management tool for controlling the init system
Services, Disable/Enable
Services, Running by Default, Disable?
Services, Start Up Script Execution
Reboot your Intel Edison
Once booted, verify again hello-world service status
Services, Web Server
Location of the web server content
Location of the web server configuration script
To stop actual webserver
Services, Butterfly, Web Based Terminal Emulator
A sleek web based terminal emulator
Butterfly is a xterm compatible terminal that runs in your browser
SystemD Automatic Run
Last updated