mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-14 06:01:34 -07:00
architectural change 1
This commit is contained in:
7
dockerfiles/init-crond.sh
Normal file
7
dockerfiles/init-crond.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "Initializing crond..."
|
||||
# Add crontab file
|
||||
cp -f ${NETALERTX_APP}/install/crontab /etc/crontabs/root
|
||||
chmod 600 /etc/crontabs/root
|
||||
chown root:root /etc/crontabs/root
|
||||
echo "crond initialized."
|
||||
Reference in New Issue
Block a user