浏览代码

[systemd] Update snap and sync to start after network

Colin Powell 1 年之前
父节点
当前提交
fa2ca24b97
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      systemd/.config/systemd/user/snapclient.service
  2. 1 0
      systemd/.config/systemd/user/syncthing.service

+ 1 - 0
systemd/.config/systemd/user/snapclient.service

@@ -1,5 +1,6 @@
 [Unit]
 Description=Snapclient
+After=network.target
 
 [Service]
 ExecStart=/usr/bin/snapclient -h snapcast.service

+ 1 - 0
systemd/.config/systemd/user/syncthing.service

@@ -1,6 +1,7 @@
 [Unit]
 Description=Syncthing - Open Source Continuous File Synchronization
 Documentation=man:syncthing(1)
+After=network.target
 
 [Service]
 ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0