Date: Friday, March 17, 2017 @ 09:30:45 Author: felixonmars Revision: 216925
add missing service files Added: kcptun/trunk/[email protected] kcptun/trunk/[email protected] ------------------------+ [email protected] | 11 +++++++++++ [email protected] | 13 +++++++++++++ 2 files changed, 24 insertions(+) Added: [email protected] =================================================================== --- [email protected] (rev 0) +++ [email protected] 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: [email protected] =================================================================== --- [email protected] (rev 0) +++ [email protected] 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
