mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
fix: do not display sudo debug messages in check logs
This commit is contained in:
parent
b089ebce54
commit
060af8b71a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ After=network.target
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=__FINALPATH__/check-__APP__
|
||||
ExecStartPost=/bin/bash -c 'echo -e "Subject: YunoHost Restic check log on $(hostname)\n$(sudo /bin/journalctl _SYSTEMD_INVOCATION_ID=`systemctl show -p InvocationID --value __APP___check.service`)" | /usr/sbin/sendmail root'
|
||||
ExecStartPost=/bin/bash -c 'echo -e "Subject: YunoHost Restic check log on $(hostname)\n$(sudo /bin/journalctl _SYSTEMD_INVOCATION_ID=`systemctl show -p InvocationID --value __APP___check.service` | grep -v "sudo[\[0-9\]\+]")" | /usr/sbin/sendmail root'
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue