Browse Source

code format

zfl9 8 years ago
parent
commit
fd77da3193
1 changed files with 4 additions and 4 deletions
  1. 4 4
      ss-tproxy.service

+ 4 - 4
ss-tproxy.service

@@ -1,16 +1,16 @@
 [Unit]
-Description=ss-tproxy
+Description=ss-tproxy, ss/ssr/socks5 global proxy
 ConditionFileIsExecutable=/usr/local/bin/ss-tproxy
 ConditionFileNotEmpty=/etc/tproxy/ss-tproxy.conf
-Requires=network-online.target haveged.service
-After=network-online.target haveged.service
+Requires=network.target network-online.target haveged.service
+After=network.target network-online.target haveged.service
 
 [Service]
 Type=oneshot
+RemainAfterExit=yes
 ExecStart=/usr/local/bin/ss-tproxy start
 ExecStop=/usr/local/bin/ss-tproxy stop
 ExecReload=/usr/local/bin/ss-tproxy restart
-RemainAfterExit=yes
 
 [Install]
 WantedBy=multi-user.target