弃用 pm2, 使用 systemctl 管理进程

This commit is contained in:
2023-12-06 18:24:47 +08:00
parent df7b905c09
commit f048bd3684
4 changed files with 44 additions and 9 deletions

12
webp.logrotate Normal file
View File

@@ -0,0 +1,12 @@
# WEBP SERVER
/root/webp/webp.log {
daily
rotate 7
compress
missingok
notifempty
create 0640 root adm
postrotate
systemctl reload webp.service > /dev/null
endscript
}