re init
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
||||
# Edit this file to introduce tasks to be run by cron.
|
||||
#
|
||||
# Each task to run has to be defined through a single line
|
||||
# indicating with different fields when the task will be run
|
||||
# and what command to run for the task
|
||||
#
|
||||
# To define the time you can provide concrete values for
|
||||
# minute (m), hour (h), day of month (dom), month (mon),
|
||||
# and day of week (dow) or use '*' in these fields (for 'any').#
|
||||
# Notice that tasks will be started based on the cron's system
|
||||
# daemon's notion of time and timezones.
|
||||
#
|
||||
# Output of the crontab jobs (including errors) is sent through
|
||||
# email to the user the crontab file belongs to (unless redirected).
|
||||
#
|
||||
# For example, you can run a backup of all your user accounts
|
||||
# at 5 a.m every week with:
|
||||
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
|
||||
#
|
||||
# For more information see the manual pages of crontab(5) and cron(8)
|
||||
#
|
||||
# m h dom mon dow command
|
||||
|
||||
0 15 * * * /usr/bin/certbot renew --quiet & echo "LETSENCRYPT RENEWAL CRON RAN: " `date '+%Y-%m-%d %H:%M:%S'` > /v$
|
||||
|
||||
0 0 * * 0 /bin/journalctl --vacuum-time=5d
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Edit this file to introduce tasks to be run by cron.
|
||||
#
|
||||
# Each task to run has to be defined through a single line
|
||||
# indicating with different fields when the task will be run
|
||||
# and what command to run for the task
|
||||
#
|
||||
# To define the time you can provide concrete values for
|
||||
# minute (m), hour (h), day of month (dom), month (mon),
|
||||
# and day of week (dow) or use '*' in these fields (for 'any').#
|
||||
# Notice that tasks will be started based on the cron's system
|
||||
# daemon's notion of time and timezones.
|
||||
#
|
||||
# Output of the crontab jobs (including errors) is sent through
|
||||
# email to the user the crontab file belongs to (unless redirected).
|
||||
#
|
||||
# For example, you can run a backup of all your user accounts
|
||||
# at 5 a.m every week with:
|
||||
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
|
||||
#
|
||||
# For more information see the manual pages of crontab(5) and cron(8)
|
||||
#
|
||||
# m h dom mon dow command
|
||||
*/2 * * * * /usr/bin/flock -n /tmp/fcj.lockfile /home/null/scripts/sync_tv.sh
|
||||
*/2 * * * * /usr/bin/flock -n /tmp/fcj.lockfile /home/null/scripts/sync_flims.sh
|
||||
0 0 * * * /home/null/scripts/prune_node_modules.sh
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# RUNNER
|
||||
|
||||
docker run --rm -t -i -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner --debug register
|
||||
|
||||
docker run -d --name gitlab-runner --restart always \\n -v /srv/gitlab-runner/config:/etc/gitlab-runner \\n -v /var/run/docker.sock:/var/run/docker.sock \\n gitlab/gitlab-runner:latest
|
||||
|
||||
sudo gitlab-runner register --url "https://gitlab.knast.cc/"
|
||||
|
||||
|
||||
docker run --detach --hostname gitlab.knast.cc --publish 192.168.2.222:444:443 --publish 192.168.2.222:8080:80 --publish 192.168.2.222:2222:22 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest
|
||||
|
||||
docker run --detach --hostname gitlab.knast.cc --publish 192.168.1.222:444:443 --publish 192.168.1.222:8080:80 --publish 192.168.1.222:2222:22 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user