Add some server things

This commit is contained in:
2023-08-21 17:29:09 +02:00
parent bee34469cd
commit 57e77ccf8c
4 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
systemctl stop nginx
#cd /etc/letsencrypt/live/
#for Domain in *.octt.eu.org
#do
# certbot certonly --standalone -d $Domain
#done
certbot renew
systemctl start nginx

View File

@@ -0,0 +1,8 @@
[Unit]
Description=FreshRSS get new content
Wants=freshrss.timer
[Service]
User=www-data
Type=simple
ExecStart=/usr/bin/php /Server/www/FreshRSS/app/actualize_script.php

View File

@@ -0,0 +1,9 @@
[Unit]
Description=FreshRSS get new content
[Timer]
OnBootSec=30s
OnCalendar=*:0/20
[Install]
WantedBy=timers.target