This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/opt/libretranslate/.local/bin/argospm update | |
/opt/libretranslate/.local/bin/argospm list > list.txt | |
/opt/libretranslate/.local/bin/argospm search >> list.txt | |
character=":" | |
sed -i "s/${character}.*//" list.txt | |
sort list.txt | uniq -u > update_list.txt | |
for line in $(cat update_list.txt); do | |
/opt/libretranslate/.local/bin/argospm install "$line" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/opt/libretranslate/.local/bin/argospm update | |
/opt/libretranslate/.local/bin/argospm list > list.txt | |
/opt/libretranslate/.local/bin/argospm search >> list.txt | |
character=":" | |
sed -i "s/${character}.*//" list.txt | |
sort list.txt | uniq -u > update_list.txt | |
for line in $(cat update_list.txt); do | |
/opt/libretranslate/.local/bin/argospm install "$line" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=PeerTube runner daemon | |
After=network.target | |
[Service] | |
Type=simple | |
Environment=NODE_ENV=production | |
User=prunner | |
Group=prunner | |
ExecStart=peertube-runner server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listen: | |
hostname: '127.0.0.1' | |
port: 9000 | |
# Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL) | |
webserver: | |
https: true | |
hostname: 'example.com' | |
port: 443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$redis = new Redis(); | |
$redis->connect('<redis_server_hostname>', <port>); | |
$queue_name = 'queue:pull'; | |
$queue_length = $redis->llen($queue_name); | |
echo "Number of enqueued jobs in '$queue_name': $queue_length"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "apex-legends", | |
"title": "Apex Legends", | |
"exe": "r5apex.exe", | |
"triggers": [ | |
{ | |
"id": "apex-kill", | |
"title": "Elimination", | |
"enabled": true, | |
"debug": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=mastodon-sidekiq-push | |
After=network.target | |
[Service] | |
Type=simple | |
User=mastodon | |
WorkingDirectory=/home/mastodon/live | |
Environment="RAILS_ENV=production" | |
Environment="DB_POOL=25" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=mastodon-sidekiq-default | |
After=network.target | |
[Service] | |
Type=simple | |
User=mastodon | |
WorkingDirectory=/home/mastodon/live | |
Environment="RAILS_ENV=production" | |
Environment="DB_POOL=25" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=mastodon-sidekiq | |
After=network.target | |
[Service] | |
Type=simple | |
User=mastodon | |
WorkingDirectory=/home/mastodon/live | |
Environment="RAILS_ENV=production" | |
Environment="DB_POOL=50" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name example.com; | |
access_log off; | |
error_log off; | |
location / { | |
proxy_pass http://my.synology.ddns | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $host; |
NewerOlder