systemd VS supervisor

Compare systemd vs supervisor and see what are their differences.

systemd

The systemd System and Service Manager (by systemd)

supervisor

Supervisor process control system for Unix (supervisord) (by Supervisor)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
systemd supervisor
520 36
12,580 8,256
2.1% 0.8%
10.0 4.8
about 22 hours ago 17 days ago
C Python
GNU General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

systemd

Posts with mentions or reviews of systemd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-04.
  • Dlopen() Metadata for ELF Files
    1 project | news.ycombinator.com | 8 May 2024
  • PoC to demonstrate root permission hijacking by exploiting "systemd-run"
    2 projects | news.ycombinator.com | 4 May 2024
    No, the OP was not sent any harassment, the OP _did_ the harassment as it can be seen in the tweets. I mean, they are right there, just click on the links you shared. One of the OP's followers even openly called for the assassination of the project maintainer, and you have the galls to defend him? This is truly deranged stuff.

    And again, there is no "vulnerability", there is simply a person that doesn't know how Linux works and has learned something new. Which again it's fine, nobody knows everything and we all learn new things everyday, it's just that normal and sensible people don't use that to make grand claims on social media and start harassment campaigns culminating in death threats.

    Professional security researchers responsibly report real issues using the appropriate channels, such as defined at: https://github.com/systemd/systemd/security/policy this is not the work of a researcher, this is a grifter looking for self-promotion on social media.

  • Run0 – systemd based alternative to sudo announced
    6 projects | news.ycombinator.com | 1 May 2024
    > 3. even `adduser` will not allow it by default

    5. useradd does allow it (as noted in a comment). 6. Local users are not the only source, there things like LDAP and AD.

    7. POSIX allows it:

    * https://github.com/systemd/systemd/issues/6237#issuecomment-...

  • Systemd Rolling Out "run0" As sudo Alternative
    2 projects | news.ycombinator.com | 30 Apr 2024
    > I for one love to type out 13 extra characters

    FWIW, systemd is normally pretty good at providing autocomplete suggestions, so even if you don't want to set up an alias you'll probably just have to type `--b ` to set it.

    > I wonder what random ASCII escape sequences we can send.

    According to the man page source[0]:

    > The color specified should be an ANSI X3.64 SGR background color, i.e. strings such as `40`, `41`, …, `47`, `48;2;…`, `48;5;…`

    and a link to the relevant Wikipedia page[1]. Given systemd's generally decent track record wrt defects and security issues, and the simplicity of valid colour values, I expect there's a fairly robust parameter verifier in there.

    In fact, given the focus on starting the elevated command in a highly controlled environment, I'd expect the colour codes to be output to the originating terminal, not forwarded to the secure pty. That way, the only thing malformed escapes can affect is your own process, which you already have full control over anyway.

    (Happy to be shown if that's a mistaken expectation though.)

    [0] https://github.com/systemd/systemd/blob/main/man/run0.xml

    [1] https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_G...

  • Crash-only software: More than meets the eye
    1 project | news.ycombinator.com | 30 Apr 2024
  • Systemd Wants to Expand to Include a Sudo Replacement
    3 projects | news.ycombinator.com | 30 Apr 2024
    bash & zsh are supported by upstream: https://github.com/systemd/systemd/tree/main/shell-completio...
  • "Run0" as a Sudo Replacement
    3 projects | news.ycombinator.com | 30 Apr 2024
    the right person to replace sudo, not: https://github.com/systemd/systemd/issues/6237

    PS: https://pwnies.com/systemd-bugs/

  • Linux fu: getting started with systemd
    5 projects | news.ycombinator.com | 14 Apr 2024
    https://github.com/systemd/systemd/issues/32028#issuecomment...

    There are some very compelling arguments made there if you care to read them

  • Ubuntu 24.04 (and Debian) removed libsystemd from SSH server dependencies
    1 project | news.ycombinator.com | 13 Apr 2024
    Maybe it was because you weren't pointing out anything new?

    There was a pull request to stop linking libzma to systemd before the attack even took place

    https://github.com/systemd/systemd/pull/31550

    This was likely one of many things that pushed the attackers to work faster, and forced them into making mistakes.

  • Systemd minimizing required dependencies for libsystemd
    2 projects | news.ycombinator.com | 12 Apr 2024
    The PR for changing compression libraries to use dlopen() was opened several weeks before the xz-utils backdoor was revealed.

    https://github.com/systemd/systemd/pull/31550

supervisor

Posts with mentions or reviews of supervisor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-09.
  • An Internet of PHP
    9 projects | news.ycombinator.com | 9 Sep 2023
    What I went with was having both a web server (Apache/Nginx) and PHP-FPM in the same container image, held together by Supervisor: http://supervisord.org/

    In my case, the Dockerfile looks a bit like the following:

      # Whatever base web server image you want, Debian/Ubuntu based here
  • Private Python Packages With devpi
    4 projects | dev.to | 1 Jul 2023
    As you can see there are several methods of running devpi server including cron, launchd (OSX service), nginx, Windows service, and supervisord. It also has a systemd service file which we can use to manage the service easily as Ubuntu uses it for primary service management. First off though we're going to need a proxy script to ensure that devpi is running in the virtual environment:
  • How can I get a lisp image to run in the background?
    2 projects | /r/lisp | 23 Jun 2023
    If it's a linux box you can make it a systemctl service, or you could use http://supervisord.org/.
  • Can I create/delete a Serverless VPC using Python?
    1 project | /r/googlecloud | 13 May 2023
    I used supervisord to start my server and the cloud SQL proxy within the same container. That should work for your use case too.
  • Have you convinced anyone to use Nix or NixOS? Friends? Coworkers?
    5 projects | /r/NixOS | 16 Apr 2023
    I convinced (previous) $dayjob to use it. It (nix) kind of hung around in the background with the team that used haskell for awhile, but became prime time when we needed to support a range of VMs running within client infrastructure that were in reality just running various python scripts under supervisord (http://supervisord.org/). The range of client machines (redhat, centos, debian, ubuntu all of different releases) with differing versions of python and supervisord were driving our support and devops teams crazy (but in a weird way - they thought they were being productive, and really enjoyed tweaking things to work with additional varieties of os...). Additionally, having to work around some minor pain points of supervisord (adding and removing config files and not interrupting running services) lead to the realisation that there was a perfectly good service manager at the bottom of the modern versions of these systems (systemd) and that nixos was just a nix wrapper around this systemd and it would only restart what actually changed...
  • Design of GNU Parallel
    3 projects | news.ycombinator.com | 19 Mar 2023
    Here's more information about the configuration file format, in case anyone is curious: http://supervisord.org/configuration.html

    My problem is that it's not always immediately clear how software that would normally run as a systemd service could be launched in the foreground instead. It usually takes a bit of digging around.

  • How We Built an Application to Test Student Docker Images for Database Systems University Course
    6 projects | dev.to | 24 Feb 2023
    This post is structured as follows: The first chapter Requirements and Design, describes the requirements for such an application, defines its processes, breaks it down into logical components, and proposes a data model. The second chapter Implementation, provides an introduction to key implementation issues, such as implementing asynchronous tasks and LDAP authentication. It also showcases the usage of Docker with Python SDK in the project, including network configuration, and describes the deployment configuration using supervisord. The final chapter summarizes the efforts and provides links to the code repositories.
  • Is it possible direct cron output to supervisord?
    1 project | /r/Ubuntu | 30 Nov 2022
    I have set up supervisord running cron job. However based on the discussion in supervisord GitHub, it is not possible to redirect cron's spawned command output to supervisord.
  • rc.d script for Node.js application
    2 projects | /r/freebsd | 20 Nov 2022
  • MISP at scale on Kubernetes
    10 projects | dev.to | 17 Nov 2022
    The project MISP-Docker from Coolacid is providing a containerized version of the MISP solution. This all-in-one solution includes the frontend, background jobs, cronjobs and an HTTP Server (Nginx) all orchestrated by process manager tool called supervisor. External services such as the database and Redis aren’t part of the container but are necessary. We decided that this project is very a good starting point to scale the MISP on Kubernetes.

What are some alternatives?

When comparing systemd and supervisor you can also consider the following projects:

openrc - The OpenRC init system

Docker Compose - Define and run multi-container applications with Docker

tini - A tiny but valid `init` for containers

PM2 - Node.js Production Process Manager with a built-in Load Balancer.

inotify-tools - inotify-tools is a C library and a set of command-line programs providing a simple interface to inotify.

honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.

s6 - The s6 supervision suite.

Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development

earlyoom - earlyoom - Early OOM Daemon for Linux

psutil - Cross-platform lib for process and system monitoring in Python

dracut - dracut the event driven initramfs infrastructure

RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins