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"