Use process kill mode in systemd service

This allows starting background processes in postswitch scripts without having to deal with cgroups. Will resolve #111.
This commit is contained in:
Johannes Wienke 2018-07-19 14:12:52 +02:00 committed by GitHub
parent 59e50efac1
commit 050b0573c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ StartLimitBurst=1
ExecStart=/usr/bin/autorandr --batch --change --default default
Type=oneshot
RemainAfterExit=false
KillMode=process
[Install]
WantedBy=sleep.target