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 #21

Merged
merged 1 commit into from
Feb 26, 2023
Merged

Systemd unit #21

merged 1 commit into from
Feb 26, 2023

Conversation

kmuto
Copy link
Collaborator

@kmuto kmuto commented Feb 25, 2023

systemd unitを用意してみました。
argsの取り方によってservice unitのところを追従します。

systemctl enableまでをそのまま動かしたい気持ちもするので、動作するymlを最初に用意させてからのほうがいいのかも。(インタラクションで加工するのまではちょっとやりすぎる)

Copy link
Owner

@yseto yseto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。
READMEとは独立して進められると思いましたので、approveさせていただきますね。

Comment on lines +7 to +8
EnvironmentFile=-%DESTETCDIR%/sabatrapd.env
ExecStart=/usr/bin/sabatrapd %DESTETCDIR%/sabatrapd.yml
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%DESTETCDIR% 細やかな作りこみでいいですね。

@kmuto
Copy link
Collaborator Author

kmuto commented Feb 26, 2023

あざます!

@kmuto kmuto changed the title [WIP] Systemd unit Systemd unit Feb 26, 2023
@kmuto kmuto merged commit eac4c17 into main Feb 26, 2023
@kmuto kmuto deleted the systemd-support branch February 26, 2023 08:46
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.

None yet

2 participants