Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •