-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
systemd-run: update page #9911
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-run: update page #9911
Conversation
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.
Welcome to tldr, Thanks for your contribution. I have some suggestions for this page.
pages/linux/systemd-run.md
Outdated
|
||
- Provide a custom (u)nit name and pass extra parameters: | ||
|
||
`systemd-run -u {{unit_name}} -- {{executable}} {{extra parameters ...}}` |
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.
`systemd-run -u {{unit_name}} -- {{executable}} {{extra parameters ...}}` | |
`systemd-run -u {{unit_name}} -- {{executable}} {{extra_parameters ...}}` |
I am not 100% sure about this, would this be better?
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 used the current version because CONTRIBUTING.md
has {{path/to/directory1 path/to/directory2 ...}}
as an example, and there can be multiple parameters. What do you think about this?
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 am not 100% sure about this, would this be better?
According to yours style guide it's incorrect, ellipsis always contain two items, and not one before ...
. The original code was more right, but not completely. Solutions: {{arg1 arg2 ...}}
, {{argument1 argument2 ...}}
.
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 prefer to {{argument1 argument2 ...}}
.
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 prefer to
{{argument1 argument2 ...}}
.
Yeah, seems better
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
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.
Thank you so much! 😸
pages/linux/systemd-run.md
Outdated
|
||
- Provide a custom (u)nit name and pass extra parameters: | ||
|
||
`systemd-run -u {{unit_name}} -- {{executable}} {{extra parameters ...}}` |
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 used the current version because CONTRIBUTING.md
has {{path/to/directory1 path/to/directory2 ...}}
as an example, and there can be multiple parameters. What do you think about this?
pages/linux/systemd-run.md
Outdated
|
||
- Provide a custom (u)nit name and pass extra parameters: | ||
|
||
`systemd-run -u {{unit_name}} -- {{executable}} {{extra parameters ...}}` |
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 prefer to {{argument1 argument2 ...}}
.
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
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.
Thanks a lot @EmilySeville7cfg and @blueskyson!
Style guide contains this phrase:
My original suggestion was to change placeholder to P.S. Here is another issue with it: what if location can be both implicit (like I defined this term) and explicit? It's undefined what to write here. Possible solution: change sentence to:
But then we lose an ability to present just implicit paths. Besides, completely another way can be chosen: don't care about implicit locations at all and assume that any |
If I understand correctly what you mean, this is exactly the case, as both let's say So in the end, what should I do? @kbdharun and @blueskyson 👍'd keeping |
Hi all! This thread has not had any recent activity. |
Hi everyone. |
common
,linux
,osx
,windows
,sunos
,android
, etc.systemd 253 (253-1-arch)
systemd-run
is very versatile and it can basically do anything that can be done using the usual file-based configuration (with the obvious limitation of everything disappearing after a reboot), so I have documented the things I found the most useful personally.