-
Notifications
You must be signed in to change notification settings - Fork 113
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
Recommend setting WorkingDirectory #1064
Conversation
🚀 Deployed on https://665b684fea270e1c67c149d5--grammy.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have nothing against these changes. But why don’t we just suggest specifying WorkingDirectory by default? Who wants the working directory of their bot to be like /root
, etc.?
Oh, that's brilliant. I hadn't even thought of that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. But the section about the start command should be edited since it is no longer required for the script's path to be absolute.
For example, it can be just
/home/user/.deno/bin/deno run --allow-all mod.ts
NB: You are also missing a run
in the Deno example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env
file in systemd
No description provided.