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:
parent
59e50efac1
commit
050b0573c2
|
@ -11,6 +11,7 @@ StartLimitBurst=1
|
|||
ExecStart=/usr/bin/autorandr --batch --change --default default
|
||||
Type=oneshot
|
||||
RemainAfterExit=false
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target
|
||||
|
|
Loading…
Reference in New Issue