e11sync-backend systemd unit
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
dart-sass,
|
||||
uwsgi,
|
||||
backendPort ? 8002,
|
||||
database-path ? null,
|
||||
databasePath ? null,
|
||||
geoip-mmdb,
|
||||
}: let
|
||||
uwsgi-python = uwsgi.override {plugins = ["python3"];};
|
||||
@@ -41,8 +41,8 @@ in
|
||||
--add-flags "--http-socket 127.0.0.1:${toString backendPort}" \
|
||||
--add-flags "--wsgi-file e11sync/wsgi.py" \
|
||||
--add-flags --master \
|
||||
${lib.optionalString (database-path != null) ''
|
||||
--set E11SYNC_DATABASE_PATH "${database-path}" \
|
||||
${lib.optionalString (databasePath != null) ''
|
||||
--set E11SYNC_DATABASE_PATH "${databasePath}" \
|
||||
''} \
|
||||
--set E11SYNC_DEBUG "" \
|
||||
--set E11SYNC_COMPRESS_OFFLINE 1 \
|
||||
|
||||
Reference in New Issue
Block a user