You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workaround is for testing on VirtualBox shared folders, where the files will be owned by someone else than root and then cron refuses to run
test -O /etc/cron.d/kastenwesen || { echo "Warning: kastenwesen dir not owned by root, working around this for cronjob"; rm /etc/cron.d/kastenwesen; cp `pwd`/cron.d_kastenwesen /etc/cron.d/kastenwesen; }
# copy appropriate init files
if initctl --version 2>/dev/null && initctl --version 2>&1 | grep -q upstart; then
echo detected upstart, installing service files
cp init/upstart/* /etc/init/
fi
if systemctl --version 2>/dev/null; then
echo detected systemd, installing and enabling service