mirror of
https://github.com/neongamerbot-qk/hackclub-nest
synced 2024-11-24 01:13:39 +00:00
Compare commits
10 commits
45ba17a73d
...
4c8cbcd824
Author | SHA1 | Date | |
---|---|---|---|
|
4c8cbcd824 | ||
d841204f95 | |||
|
ec5d7bfbe7 | ||
|
d63c1328b5 | ||
|
b67a0a3914 | ||
|
d0504d5da3 | ||
608a31d69d | |||
c7977bf127 | |||
|
23affc93b8 | ||
|
9d9dd7157b |
17 changed files with 96 additions and 5 deletions
7
.config/systemd/user/cron-13e35ebf5e7e.service
Normal file
7
.config/systemd/user/cron-13e35ebf5e7e.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=cron-13e35ebf5e7e service unit
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
ExecStart=nest resources >> ~/automated/resources.txt
|
||||
Type=oneshot
|
5
.config/systemd/user/cron-13e35ebf5e7e.timer
Normal file
5
.config/systemd/user/cron-13e35ebf5e7e.timer
Normal file
|
@ -0,0 +1,5 @@
|
|||
[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
|
7
.config/systemd/user/cron-53dc9761798a.service
Normal file
7
.config/systemd/user/cron-53dc9761798a.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=cron-53dc9761798a service unit
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
ExecStart=bash update_git.sh
|
||||
Type=oneshot
|
5
.config/systemd/user/cron-53dc9761798a.timer
Normal file
5
.config/systemd/user/cron-53dc9761798a.timer
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Unit]
|
||||
Description=cron-53dc9761798a timer unit
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:*
|
7
.config/systemd/user/cron-d4e24025f0a5.service
Normal file
7
.config/systemd/user/cron-d4e24025f0a5.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=cron-d4e24025f0a5 service unit
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
ExecStart=bash clean.sh
|
||||
Type=oneshot
|
5
.config/systemd/user/cron-d4e24025f0a5.timer
Normal file
5
.config/systemd/user/cron-d4e24025f0a5.timer
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Unit]
|
||||
Description=cron-d4e24025f0a5 timer unit
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:*
|
7
.config/systemd/user/cron-db07b00ab34e.service
Normal file
7
.config/systemd/user/cron-db07b00ab34e.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=cron-db07b00ab34e service unit
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
ExecStart=bash mass_delete_emails_reminder.sh
|
||||
Type=oneshot
|
5
.config/systemd/user/cron-db07b00ab34e.timer
Normal file
5
.config/systemd/user/cron-db07b00ab34e.timer
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Unit]
|
||||
Description=cron-db07b00ab34e timer unit
|
||||
|
||||
[Timer]
|
||||
OnCalendar=1,3,5,7,9,11-1,31 0:0
|
7
.config/systemd/user/uptime.service
Normal file
7
.config/systemd/user/uptime.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=Uptime
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
ExecStart=bash /home/neon/uptime.sh
|
||||
Type=oneshot
|
5
.config/systemd/user/uptime.timer
Normal file
5
.config/systemd/user/uptime.timer
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Unit]
|
||||
Description=Uptime for 1min
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:*
|
29
.github/workflows/restart-systemd.yml
vendored
Normal file
29
.github/workflows/restart-systemd.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
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,3 +14,5 @@ sent # all sent mail is there
|
|||
.cache/*
|
||||
.env
|
||||
.env.*
|
||||
.uptime-url
|
||||
main.cron
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# 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,3 +4,5 @@ rm .bash_history .bash_logout
|
|||
rm .sh_history
|
||||
rm .lesshst
|
||||
rm -rf .links2
|
||||
rm -rf .wget-hsts
|
||||
|
||||
|
|
1
install_cron_to_systemd.sh
Normal file
1
install_cron_to_systemd.sh
Normal file
|
@ -0,0 +1 @@
|
|||
ct2stimer -f main.cron -o ~/.config/systemd/user/ --reload
|
0
ssh-pgp-nest-chat/.gitkeep
Normal file
0
ssh-pgp-nest-chat/.gitkeep
Normal file
2
uptime.sh
Normal file
2
uptime.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$(cat ~/.uptime-url)"
|
||||
curl -v "$(cat ~/.uptime-url)"
|
Loading…
Reference in a new issue