mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ensure_package_is_installed syncthing \
|
||||||
|
&& ensure_user_folder_present ~/.config/systemd/user \
|
||||||
|
&& synchronize_user_folder ./sources/syncthing/syncthing.service ~/.config/systemd/user \
|
||||||
|
&& ensure_user_service_active syncthing
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Name=Syncthing
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --no-upgrade
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user