How to remove logs storing on self-hosted relay server?

mirillis

Administrator
Staff member
To stop the Remotly self-hosted relay server from creating and storing logs please follow these steps:

1. After downloading remotly-relay.zip and unpacking it (please follow one of the tutorials about relay installation on x86 or ARM Linux) please find the
/remotly-relay/systemd/remotly-relay.service file and edit it

2. Please change:
ExecStart=/srv/remotly/bin/remotly-relay -c /srv/remotly/config/remotly-relay.json --logfile /srv/remotly/logs/remotly-relay.log
to:
ExecStart=/srv/remotly/bin/remotly-relay -c /srv/remotly/config/remotly-relay.json

That's it. Logs will no longer be stored and the relay will only take that ~16MB of disk space.
 
Top