Start Syncthing service
This commit is contained in:
parent
524a11b9dd
commit
b912b6300e
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue