mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
Systemd - Change log writing mode
This commit is contained in:
parent
81a181071c
commit
bd0712cb3d
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ Environment=RAILS_ENV=production
|
|||
Environment="PORT=__PORT__"
|
||||
ExecStart=/opt/rbenv/versions/__RUBY_VERSION__/bin/bundle exec rails server
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
StandardOutput=file:/var/log/__APP__/__APP__.log
|
||||
StandardError=file:/var/log/__APP__/__APP__.log
|
||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||
StandardError=append:/var/log/__APP__/__APP__.log
|
||||
SyslogIdentifier=__APP__
|
||||
Restart=always
|
||||
RestartSec=15
|
||||
|
|
Loading…
Reference in a new issue