[arch-commits] Commit in kcptun/trunk (kcptun-server at .service kcptun at .service)

Felix Yan felixonmars at archlinux.org
Fri Mar 17 09:30:46 UTC 2017


    Date: Friday, March 17, 2017 @ 09:30:45
  Author: felixonmars
Revision: 216925

add missing service files

Added:
  kcptun/trunk/kcptun-server at .service
  kcptun/trunk/kcptun at .service

------------------------+
 kcptun-server at .service |   11 +++++++++++
 kcptun at .service        |   13 +++++++++++++
 2 files changed, 24 insertions(+)

Added: kcptun-server at .service
===================================================================
--- kcptun-server at .service	                        (rev 0)
+++ kcptun-server at .service	2017-03-17 09:30:45 UTC (rev 216925)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Kcptun Server Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/kcptun-server -c /etc/kcptun/%i.json
+
+[Install]
+WantedBy=multi-user.target

Added: kcptun at .service
===================================================================
--- kcptun at .service	                        (rev 0)
+++ kcptun at .service	2017-03-17 09:30:45 UTC (rev 216925)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kcptun Client Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/kcptun-client -c /etc/kcptun/%i.json
+Restart=always
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list