mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
New log files
This commit is contained in:
parent
67df429896
commit
90297a8910
3 changed files with 6 additions and 3 deletions
|
@ -8,4 +8,7 @@ config_use_goodreads=0,
|
||||||
config_logfile=\'\',
|
config_logfile=\'\',
|
||||||
config_converterpath=\'\',
|
config_converterpath=\'\',
|
||||||
config_calibre=\'\',
|
config_calibre=\'\',
|
||||||
config_uploading=\'$upload\',
|
config_logfile=\'/var/log/calibreweb/calibreweb.log\',
|
||||||
|
config_access_log=1,
|
||||||
|
config_access_logfile=\'/var/log/calibreweb/calibreweb-access.log\',
|
||||||
|
config_uploading=\'$upload\'
|
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
ExecStart=/bin/sh -c '/usr/bin/python __FINALPATH__/cps.py >> /var/log/__APP__/__APP__.log 2>&1'
|
ExecStart=/bin/sh -c '/usr/bin/python __FINALPATH__/cps.py'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -254,4 +254,4 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info "Reload nginx and start $app"
|
ynh_print_info "Reload nginx and start $app"
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
ynh_systemd_action -l "INFO in server: Starting Gevent server"
|
ynh_systemd_action
|
||||||
|
|
Loading…
Add table
Reference in a new issue