-
-
Save LeetCodes/9b1d1570a5c291562a9cdd0eaf6c126f to your computer and use it in GitHub Desktop.
SystemD config files for leafnode (socket activation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Leafnode NNTP Socket | |
[Socket] | |
ListenStream=127.0.0.1:119 | |
Accept=true | |
[Install] | |
WantedBy=sockets.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Leafnode NNTP service | |
After=syslog.target | |
[Service] | |
ExecStart=/usr/sbin/leafnode | |
StandardInput=socket | |
StandardOutput=socket | |
StandardError=syslog | |
User=news |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment