Compare commits

...

10 commits

Author SHA1 Message Date
Zeon
4c8cbcd824 chore(ci): automated push
Some checks failed
Remote SSH Command / Build (push) Has been cancelled
Restart Systemd / Restart Systemd (push) Has been cancelled
2024-09-13 19:20:10 +00:00
d841204f95
Create restart-systemd.yml 2024-09-13 15:11:20 -04:00
Zeon
ec5d7bfbe7 chore(ci): automated push 2024-09-13 19:08:01 +00:00
Zeon
d63c1328b5 chore(ci): automated push 2024-09-13 19:06:08 +00:00
Zeon
b67a0a3914 chore(ci): automated push 2024-09-13 19:04:08 +00:00
Zeon
d0504d5da3 chore(ci): automated push 2024-09-13 19:03:08 +00:00
608a31d69d chore: cleanup 2024-09-13 18:52:24 +00:00
c7977bf127 chore: cleanup 2024-09-13 18:51:52 +00:00
Zeon
23affc93b8 chore(ci): automated push 2024-09-13 18:47:46 +00:00
Zeon
9d9dd7157b chore(ci): automated push 2024-09-13 18:46:59 +00:00
17 changed files with 96 additions and 5 deletions

View file

@ -0,0 +1,7 @@
[Unit]
Description=cron-13e35ebf5e7e service unit
[Service]
TimeoutStartSec=0
ExecStart=nest resources >> ~/automated/resources.txt
Type=oneshot

View 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

View file

@ -0,0 +1,7 @@
[Unit]
Description=cron-53dc9761798a service unit
[Service]
TimeoutStartSec=0
ExecStart=bash update_git.sh
Type=oneshot

View file

@ -0,0 +1,5 @@
[Unit]
Description=cron-53dc9761798a timer unit
[Timer]
OnCalendar=*:*

View file

@ -0,0 +1,7 @@
[Unit]
Description=cron-d4e24025f0a5 service unit
[Service]
TimeoutStartSec=0
ExecStart=bash clean.sh
Type=oneshot

View file

@ -0,0 +1,5 @@
[Unit]
Description=cron-d4e24025f0a5 timer unit
[Timer]
OnCalendar=*:*

View file

@ -0,0 +1,7 @@
[Unit]
Description=cron-db07b00ab34e service unit
[Service]
TimeoutStartSec=0
ExecStart=bash mass_delete_emails_reminder.sh
Type=oneshot

View file

@ -0,0 +1,5 @@
[Unit]
Description=cron-db07b00ab34e timer unit
[Timer]
OnCalendar=1,3,5,7,9,11-1,31 0:0

View file

@ -0,0 +1,7 @@
[Unit]
Description=Uptime
[Service]
TimeoutStartSec=0
ExecStart=bash /home/neon/uptime.sh
Type=oneshot

View file

@ -0,0 +1,5 @@
[Unit]
Description=Uptime for 1min
[Timer]
OnCalendar=*:*

29
.github/workflows/restart-systemd.yml vendored Normal file
View 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
View file

@ -14,3 +14,5 @@ sent # all sent mail is there
.cache/*
.env
.env.*
.uptime-url
main.cron

View file

@ -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

View file

@ -4,3 +4,5 @@ rm .bash_history .bash_logout
rm .sh_history
rm .lesshst
rm -rf .links2
rm -rf .wget-hsts

View file

@ -0,0 +1 @@
ct2stimer -f main.cron -o ~/.config/systemd/user/ --reload

View file

2
uptime.sh Normal file
View file

@ -0,0 +1,2 @@
echo "$(cat ~/.uptime-url)"
curl -v "$(cat ~/.uptime-url)"