Skip to content

Commit

Permalink
set systemd worker KillMode=process
Browse files Browse the repository at this point in the history
so that the worker has time to clean up.
  • Loading branch information
lilydjwg committed May 24, 2024
1 parent d6962b8 commit ef1de73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lilac2/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def start_cmd(
cmd_s: Cmd = [
'systemd-run', '--pipe', '--quiet', '--user',
'--wait', '--remain-after-exit', '-u', name,
'-p', 'CPUWeight=100',
'-p', 'CPUWeight=100', '-p', 'KillMode=process',
]

if cwd := kwargs.pop('cwd', None):
Expand Down

0 comments on commit ef1de73

Please sign in to comment.