summarylogtreecommitdiffstats
path: root/clash-dashboard.service
diff options
context:
space:
mode:
authorpeeweep2019-11-16 10:17:39 +0800
committerpeeweep2019-11-16 10:17:39 +0800
commitf7a38ba45452c6ce293a46339a3d296294394c4b (patch)
tree73e681b6ad41c232339bcf7a7aa67529de8d45fe /clash-dashboard.service
downloadaur-f7a38ba45452c6ce293a46339a3d296294394c4b.tar.gz
Init
Diffstat (limited to 'clash-dashboard.service')
-rw-r--r--clash-dashboard.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/clash-dashboard.service b/clash-dashboard.service
new file mode 100644
index 000000000000..09cca6062c87
--- /dev/null
+++ b/clash-dashboard.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=web port of clash
+After=network.target
+
+[Service]
+WorkingDirectory=/usr/share/clash-dashboard
+ExecStart=/usr/bin/node node_modules/.bin/webpack-dev-server --config=configs/webpack/dev.js
+
+[Install]
+WantedBy=multi-user.target