Skip to content

Commit

Permalink
verifying absolute log path
Browse files Browse the repository at this point in the history
  • Loading branch information
picksitquick committed Feb 4, 2024
1 parent 1900678 commit e3ebd67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gamedoora-user-services.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ SuccessExitStatus=143
Environment="CONFIG_SERVER=http://localhost:8888"

# Redirect standard output and standard error to the main log file.
StandardOutput=file:/gamedoora/user_service_logs/user_services.log
StandardError=file:/gamedoora/user_service_logs/user_services.log
StandardOutput=file:/var/log/gamedoora/user_service_logs/user_services.log
StandardError=file:/var/log/gamedoora/user_service_logs/user_services.log

# Rotate log based on days, capacity, file size, compress, etc.
LogsDirectory=/gamedoora/user_service_logs
# LogsDirectory=/gamedoora/user_service_logs
RuntimeMaxUse=15d
RuntimeMaxFileSize=10M

Expand Down

0 comments on commit e3ebd67

Please sign in to comment.