Skip to content

Commit

Permalink
Apply suggestion about separating flags from flag values
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed May 31, 2023
1 parent eb3d26d commit a57b60e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions systemdspawner/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ async def start_transient_service(

run_cmd = [
"systemd-run",
f"--unit={unit_name}",
f"--working-directory={working_dir}",
"--unit",
unit_name,
"--working-directory",
working_dir,
]
if uid is not None:
run_cmd += [f"--uid={uid}"]
Expand Down

0 comments on commit a57b60e

Please sign in to comment.