Init System

« tiếng Việt »

updated: 2023-04-24

‘…Init’s job is to start other programs that are essential to the operation of your system.’

To lauch WebCC, we need to use the init system. This is because:

  1. We want it to run in the background as soon as the machine (re)boot.
  2. We want to launch ttyd with a non-privileged user for security reasons.
  3. We want improve UX by configuring multiple WebCC services to do different things. For example we can have:

There are many init software but most distro use SystemD.

If you are using any other and would like to share how you do it I would be very honered to host it to on this site.