mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ttrss: Use the apache component to restart apache on config change
Tests: - Install version 5 of ttrss app. Update to version 6. Notice that apache is reloaded. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
31e4616470
commit
e525d0ff72
@ -78,7 +78,8 @@ class TTRSSApp(app_module.App):
|
||||
self.add(firewall)
|
||||
|
||||
webserver = Webserver('webserver-ttrss', 'tt-rss-plinth',
|
||||
urls=['https://{host}/tt-rss'])
|
||||
urls=['https://{host}/tt-rss'],
|
||||
last_updated_version=5)
|
||||
self.add(webserver)
|
||||
|
||||
daemon = Daemon('daemon-ttrss', 'tt-rss')
|
||||
|
||||
@ -81,8 +81,6 @@ def setup():
|
||||
|
||||
if action_utils.service_is_enabled('tt-rss'):
|
||||
action_utils.service_restart('tt-rss')
|
||||
# Accommodate changes in Apache configuration file.
|
||||
action_utils.service_reload('apache2')
|
||||
|
||||
|
||||
@privileged
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user