Skip to content

Commit

Permalink
use journal+console not syslog+cosole
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwall committed Dec 22, 2023
1 parent e3a3c7d commit 940eff4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/etc/systemd/system/weewx.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ After=time-sync.target
[Service]
ExecStart=weewxd /etc/weewx/weewx.conf
StandardOutput=null
StandardError=syslog+console
StandardError=journal+console
RuntimeDirectory=weewx
RuntimeDirectoryMode=775
User=weewx
Expand Down
2 changes: 1 addition & 1 deletion pkg/etc/systemd/system/weewx@.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PartOf=weewx.service
[Service]
ExecStart=weewxd --log-label weewxd-%i /etc/weewx/%i.conf
StandardOutput=null
StandardError=syslog+console
StandardError=journal+console
RuntimeDirectory=weewx
RuntimeDirectoryMode=775
User=weewx
Expand Down
2 changes: 1 addition & 1 deletion src/weewx_data/util/systemd/weewx.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ After=time-sync.target
[Service]
ExecStart=weewxd weewx.conf
StandardOutput=null
StandardError=syslog+console
StandardError=journal+console
#User=weewx
#Group=weewx

Expand Down
2 changes: 1 addition & 1 deletion src/weewx_data/util/systemd/weewx@.service
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PartOf=weewx.service
[Service]
ExecStart=weewxd --log-label weewxd-%i $HOME/weewx-data/%i.conf
StandardOutput=null
StandardError=syslog+console
StandardError=journal+console
#User=weewx
#Group=weewx

Expand Down

0 comments on commit 940eff4

Please sign in to comment.