1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flood_ynh.git synced 2024-09-03 18:36:20 +02:00

Fix an issue where localhost resolves to ::1 and rtorrent listen on 127.0.0.1

This commit is contained in:
Tagada 2024-08-23 20:33:24 +02:00 committed by GitHub
parent 2b4bce26a4
commit 5971f6d76d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=/usr/bin/flood --rundir="__INSTALL_DIR__/" --baseuri="__PATH__" --port=__PORT__ --rthost="localhost" --rtport="__PORT_SCGI__" --allowedpath="__DATA_DIR__" --auth="none"
ExecStart=/usr/bin/flood --rundir="__INSTALL_DIR__/" --baseuri="__PATH__" --port=__PORT__ --rthost="127.0.0.1" --rtport="__PORT_SCGI__" --allowedpath="__DATA_DIR__" --auth="none"
[Install]
WantedBy=multi-user.target