Skip to content

Conversation

@ins1d3r
Copy link
Contributor

@ins1d3r ins1d3r commented Sep 4, 2024

Чтобы frpc не засорял логи (из-за того что после перезагрузки токен недействительный) отключаем его старт вместе с системой - его перезапустит wb-cloud-agent после получения свежего конфига.

Также переместил конфиг frpc в /run чтобы он удалялся при выключении

@ins1d3r ins1d3r requested a review from webconn September 4, 2024 10:55
@sikmir
Copy link
Contributor

sikmir commented Sep 4, 2024

еще чейнджлог добавить

Copy link
Contributor

@webconn webconn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ещё надо версию поднять в debian/changelog

[Service]
ExecCondition=/usr/bin/test -f /var/lib/wb-cloud-agent/frpc.conf
ExecStart=/usr/bin/frpc --config /var/lib/wb-cloud-agent/frpc.conf
ExecCondition=/usr/bin/test -f /run/frpc.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

там всё равно лучше сделать директорию под cloud-agent, чтобы беспорядок не создавать

@ins1d3r ins1d3r requested a review from webconn September 9, 2024 07:34
@webconn
Copy link
Contributor

webconn commented Sep 10, 2024

единственное, на живом контроллере я не гонял. возможно, стоит проверить отдельно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants