Skip to content

robyoung/journald-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Journald proxy

Proxy stdin to the systemd socket to avoid the line length limit.

See:

Note: All messages get sent to journald with a priority of 'NOTICE' as we use the priority in the message for our logging.

Usage

Use in your systemd unit file with

[Unit]
Description=my-service

[Service]
ExecStart=/bin/npm start | /bin/journald-proxy
WorkingDirectory=/opt/my-service
Restart=always
RestartSec=10
User=webapp
EnvironmentFile=-/etc/sysconfig/my-service

[Install]
WantedBy=multi-user.target

About

Proxy stdin to the systemd socket to avoid the line length limit

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors