Mercurial > hg > dml-home
view etc/rc.local @ 100:a4cd935561d4 dml-dockerised tip
small updates and version pin for cliopatria
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Fri, 29 Jun 2018 17:48:41 +0100 |
parents | 7d34f4b6df69 |
children |
line wrap: on
line source
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # if [ -x ~dml/.boot ]; then echo "Executing boot script for user dml" sudo -u dml mkdir -p ~dml/var/log sudo -u dml -H bash -l -c '~/.boot >> ~/var/log/boot.log' fi exit 0