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

@ -9,6 +9,7 @@ ExecStop=/bin/kill $MAINPID
ExecStop=-/usr/bin/gphoto2 --set-config viewfinder=0
Restart=always
RestartSec=5
SyslogIdentifier=gphoto-ffmpeg
Slice=app.slice
[Install]