Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ sudo apt-get install -y nodejs
sudo useradd --system --create-home --shell /usr/sbin/nologin runewager || true
sudo mkdir -p /var/www/html/Runewager
sudo chown -R "$USER":"$USER" /var/www/html/Runewager
# Keep directory casing exactly as "Runewager" to match systemd paths

# 3) Clone or update repo
cd /var/www/html/Runewager
Expand Down
7 changes: 2 additions & 5 deletions runewager.logrotate
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/var/www/html/Runewager/logs/runewager-1.log /var/www/html/Runewager/logs/crash.log {
/var/www/html/Runewager/logs/runewager*.log /var/www/html/Runewager/logs/crash.log /var/www/html/runewager/logs/runewager*.log /var/www/html/runewager/logs/crash.log {
daily
size 5M
rotate 7
missingok
notifempty
compress
delaycompress
copytruncate
create 0640 runewager runewager
sharedscripts
postrotate
/bin/systemctl try-restart runewager.service >/dev/null 2>&1 || true
endscript
}