mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 11:19:09 +01:00
initial commit
This commit is contained in:
1 parent
365d2c9b2f
commit
5c4b53d0f9
2 files changed
+15
No files matched your search
@@ -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