Hi, I've got a service
[Unit] Description=lm_sensors for monitoring motherboard sensor values After=syslog.target [Service] EnvironmentFile=/etc/sysconfig/lm_sensors Type=oneshot ExecStart=/bin/bash -c "for module in $BUS_MODULES $HWMON_MODULES; do /sbin/modprobe $module >/dev/null 2>&1; done" ExecStart=/usr/bin/sensors -s [Install] WantedBy=multi-user.target It works well until I add ExecStop=/bin/bash -c "for module in $HWMON_MODULES $BUS_MODULES; do /sbin/modprobe -r $module >/dev/null 2>&1; done" Is there some magical way in which I can make a simple loop in ExecStop? systemd-20-2.fc15.x86_64 -- Best regards, Michal http://eventhorizon.pl/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel