mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
syncthing: Made it a systemd service
This commit is contained in:
1 parent
e531e9ac9c
commit
53645deebf
2 files changed
+18
-5
No files matched your search
@@ -18,6 +18,8 @@
|
||||
Plinth module to configure Syncthing.
|
||||
"""
|
||||
|
||||
import subprocess
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from plinth import actions
|
||||
@@ -93,7 +95,7 @@ def add_shortcut():
|
||||
|
||||
def is_enabled():
|
||||
"""Return whether the module is enabled."""
|
||||
return (action_utils.service_is_enabled('syncthing') and
|
||||
return (action_utils.service_is_enabled('syncthing@plinth.service') and
|
||||
action_utils.webserver_is_enabled('syncthing-plinth'))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user