-
-
Save lucaswerkmeister/850b6def64d7602566a2ddb753d80c25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
Type=oneshot | |
DynamicUser=yes | |
ExecStartPre=/bin/echo pre | |
ExecStartPre=/bin/id | |
ExecStart=/bin/echo start | |
ExecStart=/bin/id | |
ExecStartPost=/bin/echo post | |
ExecStartPost=/bin/id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result of placing that service in
/run/systemd/system/
and then runningsystemctl daemon-reload
,systemctl start TestExecStartUser.service
andjournalctl -u TestExecStartUsers.service -o cat
: