If userv is to spawn long-running processes, and it is desired that
they survive the restarting of userv, then we'll also need KillMode
set to process (rather than the default "control-group").
(From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939573#10)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Type=forking
ExecStartPre=/bin/sh -c 'test -d /var/run/userv || mkdir -m700 /var/run/userv'
ExecStart=/usr/sbin/uservd -daemon
+KillMode=process
[Install]
WantedBy=multi-user.target