Skip to content

Correct and simplify systemd service files #2056

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

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

nynauy
Copy link
Contributor

@nynauy nynauy commented Sep 16, 2024

Changes proposed in this pull request:

  • Change to start the services directly. Systemd services do not require those command line wrappers.
  • Remove misused EnvironmentFile=. It should be pointed to a text file, not a directory.
  • Remove KillMode=process which is not recommended by systemd.kill(5). The default control-group would be fine.

Remove unnecessary wrappers and change to start services directly. Also remove misused "EnvironmentFile" and unrecommended "KillMode=process".
@metalefty
Copy link
Contributor

Changes LGTM, let me test on my side.

@metalefty
Copy link
Contributor

Worked fine.

@chipitsine chipitsine merged commit e475d70 into SoftEtherVPN:master Sep 24, 2024
13 checks passed
@chipitsine
Copy link
Member

thanks!

@nynauy nynauy deleted the nynauy-systemd-patch branch September 24, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants