Skip to content

Commit

Permalink
resolve conversation from djmaze
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Sep 24, 2022
1 parent 3f3cfc5 commit 27cb421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shepherd
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ run_main() {

run_crond() {
mkdir -p /etc/cron.d
echo "${CRON_SETTING} BASH_ENV=/save-env /shepherd >> /var/log/shepherd.log" > /etc/cron.d/shepherd
echo "${CRON_SETTING:-} BASH_ENV=/save-env /usr/local/bin/shepherd >> /var/log/shepherd.log 2>&1" > /etc/cron.d/shepherd
chmod 0644 /etc/cron.d/shepherd
export RUN_ONCE_AND_EXIT='true'
export CRON_SETTING=''
Expand Down

0 comments on commit 27cb421

Please sign in to comment.