1 2 3 4 5 6 7
#!/bin/sh set -e mkdir -p /var/log/dehydrated dehydrated -gcd >> /var/log/dehydrated/dehydrated.log chown -R root:adm /var/log/dehydrated