Add "RuntimeDirectory=setrans" to the mcstrans.service

Add "RuntimeDirectory=setrans" to the mcstrans.service, this will make
systemd automatically create the /run/setrans directory before starting
the service.

This directory contains the ".setrans-unix" socket created by the
daemon.

Acked-by: Steve Lawrence <slawrence@tresys.com>
This commit is contained in:
Laurent Bigonville 2014-11-29 11:24:15 +01:00 committed by Steve Lawrence
parent b817a523c4
commit b9abc5c6e7

View File

@ -4,6 +4,7 @@ ConditionSecurity=selinux
[Service]
ExecStart=/sbin/mcstransd -f
RuntimeDirectory=setrans
[Install]
WantedBy=multi-user.target