diff options
author | Eric Wong <e@80x24.org> | 2016-06-13 04:53:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-13 04:56:33 +0000 |
commit | 9dc61f9132a7c4ac4a4d067cdd48efb7c28de102 (patch) | |
tree | 940986f5bdce17db304ecb57ac24a14b188feb40 /examples/public-inbox-nntpd.socket | |
parent | b6e2d71cd342a55e942915a082ca3fd15812e48d (diff) | |
download | public-inbox-9dc61f9132a7c4ac4a4d067cdd48efb7c28de102.tar.gz |
Since our daemons are built to take advantage of socket activation, provide example files to allow systems administrators to hit the ground running with systemd. Example init files for other systems greatly appreciated.
Diffstat (limited to 'examples/public-inbox-nntpd.socket')
-rw-r--r-- | examples/public-inbox-nntpd.socket | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/public-inbox-nntpd.socket b/examples/public-inbox-nntpd.socket new file mode 100644 index 00000000..eeddf343 --- /dev/null +++ b/examples/public-inbox-nntpd.socket @@ -0,0 +1,10 @@ +# ==> /etc/systemd/system/public-inbox-nntpd.socket <== +[Unit] +Description = public-inbox-nntpd socket + +[Socket] +ListenStream = 119 +Service = public-inbox-nntpd@1.service + +[Install] +WantedBy = sockets.target |