You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> syncthing --home ~/.config/syncthing/
OPTIONS: Making some assumptions...
# Because this is your current working directory
--workdir /home/myuser
COMMAND: Service "syncthing" will be run like this (more or less):
# Starts as "myuser", when "myuser" logins
/home/myuser/.local/bin/syncthing --home /home/myuser/.config/syncthing
LAUNCHER: Starting systemd USER MODE service unit...
systemctl --user daemon-reload || true
systemctl stop --user syncthing.service || true
systemctl start --user syncthing.service || exit
This successfully brought up Syncthing, and correctly created a "syncthing.service" file under ~/.config/systemd/user/ dir.
However, after rebooting and logging again into "myuser", Syncthing was not started.
Looking back at above systemctl commands I noticed that a systemctl --user enable syncthing.service was missing, so I ran it myself and got
Created symlink /home/myuser/.config/systemd/user/default.target.wants/syncthing.service → /home/myuser/.config/systemd/user/syncthing.service.
And after this step I could verify that Syncthing was automatically starting on system reboot.
So in order to make thing clearer for other users or future myself, is this actually a bug in the serviceman script, or did I do anything wrong?
The text was updated successfully, but these errors were encountered:
Hi, as per instructions at https://webinstall.dev/syncthing/, I ran the following commands to setup Syncthing automatic execution:
which resulted in the following output:
This successfully brought up Syncthing, and correctly created a "syncthing.service" file under ~/.config/systemd/user/ dir.
However, after rebooting and logging again into "myuser", Syncthing was not started.
Looking back at above systemctl commands I noticed that a
systemctl --user enable syncthing.service
was missing, so I ran it myself and gotAnd after this step I could verify that Syncthing was automatically starting on system reboot.
So in order to make thing clearer for other users or future myself, is this actually a bug in the serviceman script, or did I do anything wrong?
The text was updated successfully, but these errors were encountered: