systemd / active (exited)

Tom H tomh0665 at gmail.com
Fri Aug 30 13:39:17 UTC 2019


On Fri, Aug 30, 2019 at 10:31 AM Helmut Schneider <jumper99 at gmx.de> wrote:
>
> systemd is a book with 7 seals for me, who ever had the idea
> completely lost me. It starts with I have not idea how to use
> variables and start clamd chrooted:
>
>
#! /bin/sh
> ...
> start)
> ...
> chroot --userspec $(id -u ${AMAVISD_USER}):$(id -g
> ${AMAVISD_GROUP}) ${AMAVISD_ROOT} ${DAEMON} --config-file
> ${CLAMAVCONF}
> ...

Does running this manually

chroot --userspec amavis:amavis /var/amavis /usr/sbin/clamd
--config-file /etc/clamav/clamd.conf

work?




More information about the ubuntu-users mailing list