Hi,

On Fri, Feb 7, 2020 at 12:10 PM Falconieri Falconieri
<[email protected]> wrote:
>
> Hi Jun.
>
> See below:
>
> adm-grff@ip-172-31-155-44:~$ systemctl status tracd.service
> ● tracd.service - Agilo Tracd Service
>    Loaded: loaded (/etc/systemd/system/tracd.service; enabled; vendor preset: 
> en
>    Active: active (running) since Thu 2020-02-06 17:59:36 -03; 5h 18min ago
>   Process: 20175 ExecStart=/usr/local/bin/tracd -p 443 --protocol https 
> --certfi
>  Main PID: 20204 (tracd)
>     Tasks: 16 (limit: 4915)
>    CGroup: /system.slice/tracd.service
>            └─20204 /usr/bin/python /usr/local/bin/tracd -p 443 --protocol 
> https
>
> journal
> -- Logs begin at Fri 2019-12-20 08:05:56 -03, end at Thu 2020-02-06 23:52:34 
> -03. --
> Feb 06 23:16:10 ip-172-31-155-44 sudo[22409]:     root : unable to resolve 
> host ip-172-31-155-44

The tracd has no logging option. The issue is not logged if an issue
occurs on tracd
process. Also, the stderr is redirected to /dev/null if --daemonize
option is used.
Therefore, we cannot find any issues from systemd logs.

Instead, try to use Type=simple and remove -d option for [Service]
section in tracd.service.

[Service]
Type=simple
ExecStart = /usr/local/bin/tracd -p 443 --protocol https --certfile
/xxx/conf/server.crt --keyfile /xxx/conf/server.key
--basic-auth='*,/xxx/conf/trac.htpasswd, Trac' --hostname xxx.yyy.com
-e /xxx/trac-envs
ExecStop=/bin/kill ${MAINPID}
Restart=on-failure


-- 
Jun Omae <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMaiq-HyNUZTUXz3zko6Ne13%3DtUBia7gAaGMgPGQRrrPzdA%40mail.gmail.com.

Reply via email to