diff options
Diffstat (limited to 'simple-http-server-git/simple-http-server@.service')
-rw-r--r-- | simple-http-server-git/simple-http-server@.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/simple-http-server-git/simple-http-server@.service b/simple-http-server-git/simple-http-server@.service new file mode 100644 index 0000000..ff8e1ed --- /dev/null +++ b/simple-http-server-git/simple-http-server@.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=Simple http server in Rust | ||
3 | After=network.target network-online.target nss-lookup.target | ||
4 | |||
5 | [Service] | ||
6 | WorkingDirectory=%f | ||
7 | ExecStart=/usr/bin/simple-http-server -p 80 | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||