1
0
Fork 0
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:
Krakinou 2020-04-12 14:24:18 +02:00
parent 67df429896
commit 90297a8910
3 changed files with 6 additions and 3 deletions

View file

@ -8,4 +8,7 @@ config_use_goodreads=0,
config_logfile=\'\',
config_converterpath=\'\',
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\'

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
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]
WantedBy=multi-user.target

View file

@ -254,4 +254,4 @@ fi
#=================================================
ynh_print_info "Reload nginx and start $app"
systemctl reload nginx
ynh_systemd_action -l "INFO in server: Starting Gevent server"
ynh_systemd_action