#!/bin/sh
set -euo pipefail
set -x

test "$(systemctl show -P ActiveState cachefilesd)" = "inactive"

echo "RUN=yes" >> /etc/default/cachefilesd
systemctl restart cachefilesd
test "$(systemctl show -P ActiveState cachefilesd)" = "active"
