Skip to content

Commit

Permalink
Merge pull request #21 from tongtanhieu/master
Browse files Browse the repository at this point in the history
Change StandardOutput/StandardError to journal
  • Loading branch information
stablestud committed Nov 7, 2021
2 parents 1a6e6c5 + 943f842 commit 55dc33e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/systemd/default-service
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Type=oneshot
User=root
ExecStart=/bin/sh -c 'printf "\\nAdsorber v#@version@# #@frequency@# Systemd service @ %s\\n" "$(date)" >> "#@/some/path/to/logfile@#"; #@/some/path/adsorber update@# 2>&1 | tee -a "#@/some/path/to/logfile@#"'
StandardInput=null
StandardOutput=syslog
StandardError=syslog
StandardOutput=journal
StandardError=journal
SyslogIdentifier=Adsorber
ProtectKernelTunables=true
ProtectKernelModules=true
Expand Down

0 comments on commit 55dc33e

Please sign in to comment.