csync2 socket and service file
Dhionel Díaz
ddiaz at cenditel.gob.ve
Mon Dec 7 00:14:36 GMT 2015
Hi everyone,
Following the directions in https://wiki.debian.org/systemd/HowToHelp
I've attached files that can be used to make csync2 a socket activated
service and avoid the use of inetd, they are based on the ones published
in
https://github.com/mk-fg/fg_exheres/tree/master/packages/sys-apps/csync2/files/systemd.
The configuration has been tested in a four node cluster.
I'll be awaiting your review.
Regards,
--
Dhionel Díaz
Centro Nacional de Desarrollo e Investigación en Tecnologías Libres
Ministerio del Poder Popular para
Educación Universitaria, Ciencia y Tecnología
-------------- next part --------------
[Socket]
ListenStream = 30865
Accept = true
[Install]
WantedBy = sockets.target
-------------- next part --------------
[Unit]
Description = csyn2 asynchronous file synchronization
[Service]
User = csync2
Group = csync2
ExecStart = -/usr/sbin/csync2 -i
StandardInput = socket
StandardOutput = socket
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151206/0a50d064/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list