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

systemd unit: make EnvironmentFile optional #2886

Merged
merged 1 commit into from
Feb 3, 2021

Commits on Feb 2, 2021

  1. systemd unit: make EnvironmentFile optional

    Previously, k3s.service was failing when the EnvironmentFile does not exist:
    ```
    Feb 02 17:17:30 suda-ws01 systemd[1]: k3s.service: Failed to load environment files: No such file or directory
    Feb 02 17:17:30 suda-ws01 systemd[1]: k3s.service: Failed to run 'start' task: No such file or directory
    Feb 02 17:17:30 suda-ws01 systemd[1]: k3s.service: Failed with result 'resources'.
    Feb 02 17:17:30 suda-ws01 systemd[1]: Failed to start Lightweight Kubernetes.
    ```
    
    ref: https://unix.stackexchange.com/questions/404199/documentation-of-equals-minus-in-systemd-unit-files
    
    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    64137b4 View commit details
    Browse the repository at this point in the history