fix unclean exit and stop spamming journalctl

This commit is contained in:
graysky 2020-09-23 07:30:32 -04:00
parent 2c5da1a438
commit 3fcd54aad5
3 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,8 @@ Environment=WINDOWING=gbm
ExecStart=/usr/bin/kodi-standalone
Restart=on-abort
StandardInput=tty
StandardOutput=journal
StandardOutput=file:/var/log/kodi-gbm-standalone.log
StandardError=file:/var/log/kodi-gbm-standalone.log
[Install]
Alias=display-manager.service

View File

@ -14,7 +14,8 @@ Environment=WINDOWING=wayland
ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone
Restart=on-abort
StandardInput=tty
StandardOutput=journal
StandardOutput=file:/var/log/kodi-wayland-standalone.log
StandardError=file:/var/log/kodi-wayland-standalone.log
[Install]
Alias=display-manager.service

View File

@ -12,9 +12,11 @@ PAMName=login
TTYPath=/dev/tty1
Environment=WINDOWING=x11
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
ExecStop=/usr/bin/pkill kodi
Restart=on-abort
StandardInput=tty
StandardOutput=journal
StandardOutput=file:/var/log/kodi-x11-standalone.log
StandardError=file:/var/log/kodi-x11-standalone.log
[Install]
Alias=display-manager.service