mirror of
https://github.com/neongamerbot-qk/hackclub-nest
synced 2024-11-24 01:13:39 +00:00
Compare commits
No commits in common. "4c8cbcd824aa29b551df7fbd5967f01fa90982d7" and "45ba17a73d88cc3af70a95f214b2bdaad7177c1c" have entirely different histories.
4c8cbcd824
...
45ba17a73d
17 changed files with 5 additions and 96 deletions
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-13e35ebf5e7e service unit
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStartSec=0
|
|
||||||
ExecStart=nest resources >> ~/automated/resources.txt
|
|
||||||
Type=oneshot
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-13e35ebf5e7e timer unit
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*:0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-53dc9761798a service unit
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStartSec=0
|
|
||||||
ExecStart=bash update_git.sh
|
|
||||||
Type=oneshot
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-53dc9761798a timer unit
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*:*
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-d4e24025f0a5 service unit
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStartSec=0
|
|
||||||
ExecStart=bash clean.sh
|
|
||||||
Type=oneshot
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-d4e24025f0a5 timer unit
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*:*
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-db07b00ab34e service unit
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStartSec=0
|
|
||||||
ExecStart=bash mass_delete_emails_reminder.sh
|
|
||||||
Type=oneshot
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=cron-db07b00ab34e timer unit
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=1,3,5,7,9,11-1,31 0:0
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Uptime
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStartSec=0
|
|
||||||
ExecStart=bash /home/neon/uptime.sh
|
|
||||||
Type=oneshot
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Uptime for 1min
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*:*
|
|
29
.github/workflows/restart-systemd.yml
vendored
29
.github/workflows/restart-systemd.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: Restart Systemd
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- ".config/systemd/user/**"
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Restart Systemd
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: is zeon
|
|
||||||
uses: zeon-neon/gh-action-no-zeon@v1
|
|
||||||
id: zeonallowed
|
|
||||||
- name: Execute
|
|
||||||
if: ${{ steps.zeonallowed.outputs.skip == 'false' }}
|
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
|
||||||
with:
|
|
||||||
host: hackclub.app
|
|
||||||
username: neon
|
|
||||||
passphrase: ${{ secrets.PASSWORD }}
|
|
||||||
key: ${{ secrets.ZEON_KEY }}
|
|
||||||
port: 22
|
|
||||||
script: |
|
|
||||||
systemctl --user daemon-reload
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -14,5 +14,3 @@ sent # all sent mail is there
|
||||||
.cache/*
|
.cache/*
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
.uptime-url
|
|
||||||
main.cron
|
|
||||||
|
|
5
.wget-hsts
Normal file
5
.wget-hsts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# HSTS 1.0 Known Hosts database for GNU Wget.
|
||||||
|
# Edit at your own risk.
|
||||||
|
# <hostname> <port> <incl. subdomains> <created> <max-age>
|
||||||
|
raw.githubusercontent.com 0 0 1726022810 31536000
|
||||||
|
github.com 0 1 1726250945 31536000
|
2
clean.sh
2
clean.sh
|
@ -4,5 +4,3 @@ rm .bash_history .bash_logout
|
||||||
rm .sh_history
|
rm .sh_history
|
||||||
rm .lesshst
|
rm .lesshst
|
||||||
rm -rf .links2
|
rm -rf .links2
|
||||||
rm -rf .wget-hsts
|
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
ct2stimer -f main.cron -o ~/.config/systemd/user/ --reload
|
|
|
@ -1,2 +0,0 @@
|
||||||
echo "$(cat ~/.uptime-url)"
|
|
||||||
curl -v "$(cat ~/.uptime-url)"
|
|
Loading…
Reference in a new issue