From b912b6300ef91d135413ccd039aabeb28e6c58f6 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sun, 5 Jan 2025 18:36:09 +0100 Subject: [PATCH] Start Syncthing service --- .install/systemd.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.install/systemd.sh b/.install/systemd.sh index 468c0cf..79b1083 100644 --- a/.install/systemd.sh +++ b/.install/systemd.sh @@ -25,7 +25,9 @@ CONFIG_SYSTEMD_SERVICES=( "upower.service" ) -CONFIG_SYSTEMD_USER_SERVICES=() +CONFIG_SYSTEMD_USER_SERVICES=( + "syncthing.service" +) output::section "Copying systemd services" for service in "${SYSTEM_DIR}/etc/systemd/system/"*; do @@ -43,6 +45,6 @@ done for service in "${CONFIG_SYSTEMD_USER_SERVICES[@]}"; do output::log "Enabling service ${YELLOW}${service}${DEFAULT}" - systemctl --user enable "${service}" |& output::debug + systemctl --user enable --now "${service}" |& output::debug done output::success "Successfully enabled systemd services"