Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch systemd units to use Type=exec instead of Type=oneshot #7350

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Nov 22, 2024

  1. Switch systemd units to use Type=exec instead of Type=oneshot

    `oneshot` is designed to be used with RemainAfterExit, but we don't need
    that nor use it. After reviewing
    <https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html>,
    `exec` appears to be the correct type since we want the service to be
    running once the binary has started, not once it's finished.
    
    Practically this shouldn't make a big difference except that `systemctl
    start <name>` won't wait for the entire command to complete.
    
    Fixes #7349.
    legoktm committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    a52e71a View commit details
    Browse the repository at this point in the history