Skip to content

Commit

Permalink
Update self-host.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Aug 23, 2023
1 parent ce279bd commit 9f400d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/integration/self-host.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,11 @@ EARLYOOM_ARGS="-r 0 -m 4 -M 409600 -g --prefer '^(node|python|ruby|java)' --avoi
```ini title="/var/spool/cron/root"
@daily passenger-config reopen-logs
* * * * * pgrep PassengerAgent || systemctl restart nginx
0 * * * * find '/var/spool/cron/' -not -name root -type f | xargs sed -i '/^\s*(\*|\d+,)/d'
*/5 * * * * /usr/bin/node /home/bridge/public_html/sudokill.js -i bridge,do-agent,dbus,earlyoom,mysql,named,nobody,postgres,polkitd,rpc
@monthly find /etc/letsencrypt/{csr,keys} -name *-certbot.pem -type f -mtime +180 -exec rm -f {} ';'
@weekly find /home -maxdepth 1 -type d -ctime +7 -exec rm -rf {}/{.cache,.npm,Downloads,public_html/.yarn/cache,public_html/node_modules/.cache,.composer/cache} \;
@monthly find /home -maxdepth 1 -type d -ctime +7 -exec rdfind -minsize 100000 -makehardlinks true -makeresultsfile false {}/{.vscode-server,.pyenv,.rvm,.cargo,.local,go,.rustup,public_html/node_modules} \;
@monthly find /etc/letsencrypt/{csr,keys} -name *-certbot.pem -type f -mtime +180 -exec rm -f {} ';'
@reboot sudo /usr/bin/bash /home/bridge/public_html/src/whitelist/refresh.sh
```

Expand Down

0 comments on commit 9f400d3

Please sign in to comment.