1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

systemd: add SyslogIdentifier for /bin/sh processes

These units appear in the journal with the identifier `sh` so set a
sensible identifier for them to aid in log readability

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2020-09-26 14:12:01 +01:00
parent 8d0eedb617
commit e237f79831
4 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ After=xorg.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c '. $XDG_CONFIG_HOME/X11/xprofile; systemctl --user import-environment'
SyslogIdentifier=xprofile
Slice=session.slice
[Install]