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

[Socket]
ListenStream = 30865
Accept = true

[Install]
WantedBy = sockets.target
[Unit]
Description = csyn2 asynchronous file synchronization

[Service]
User = csync2
Group = csync2
ExecStart = -/usr/sbin/csync2 -i
StandardInput = socket
StandardOutput = socket

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to