mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-05 05:37:20 +02:00
Compare commits
No commits in common. "9ba056cfd348ce3a7185ef6083ecc51b40107f5a" and "4f50f4a36737037e11dfa6de78cb5c50f86e0ebd" have entirely different histories.
9ba056cfd3
...
4f50f4a367
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Matterbridge mediarepo cleanup for things older than a week
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=-/usr/bin/find /var/www/html/matterbridge -type f -cmin +10080 -delete
|
|
||||||
User=matterbridge
|
|
||||||
StandardOutput=null
|
|
||||||
StandardError=null
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Run matterbridge cleanup every minute
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*-*-* *:*:00
|
|
||||||
OnBootSec=0
|
|
||||||
Persistent=true
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
@ -1,16 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Matterbridge Daemon
|
|
||||||
After=network-online.target systemd-resolved.service
|
|
||||||
#oragono.service
|
|
||||||
# ^--v add these if running Ergo (previously Oragono) on the same host
|
|
||||||
#Wants=oragono.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Environment="PATH=/home/matterbridge/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
|
|
||||||
ExecStart=/home/matterbridge/.local/bin/matterbridge -debug -conf /home/matterbridge/matterbridge.toml
|
|
||||||
Restart=always
|
|
||||||
RestartSec=5s
|
|
||||||
User=matterbridge
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Restart Matterbridge daemon daily at 05 Finnish time
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=*-*-* 05:00:00 Europe/Helsinki
|
|
||||||
OnBootSec=0
|
|
||||||
RandomizedDelaySec=1h
|
|
||||||
Persistent=true
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
Loading…
x
Reference in New Issue
Block a user