blob: 6bbf34ce120ad5d36eff259f37c5308930e5f1aa [file] [log] [blame] [edit]
#!/bin/sh
set -e
mkdir -p /etc/systemd/user/default.target.wants
ln -s /usr/lib/systemd/user/sommelier@.service \
/etc/systemd/user/default.target.wants/sommelier@0.service
ln -s /usr/lib/systemd/user/sommelier@.service \
/etc/systemd/user/default.target.wants/sommelier@1.service
ln -s /usr/lib/systemd/user/sommelier-x@.service \
/etc/systemd/user/default.target.wants/sommelier-x@0.service
ln -s /usr/lib/systemd/user/sommelier-x@.service \
/etc/systemd/user/default.target.wants/sommelier-x@1.service
update-alternatives --install /usr/bin/sommelier sommelier /opt/google/cros-containers/bin/sommelier 1