summarylogtreecommitdiffstats
path: root/nostromo.service
diff options
context:
space:
mode:
authorAndrew O'Neill2017-04-09 02:24:22 -0400
committerAndrew O'Neill2017-04-09 02:24:22 -0400
commitd89c4d4b706f98a2c5be3b27fb00da4bcfdd1459 (patch)
tree1a1d0db7848f935ffd3a97938d627e89b1cc5257 /nostromo.service
downloadaur-d89c4d4b706f98a2c5be3b27fb00da4bcfdd1459.tar.gz
Initial commit
Diffstat (limited to 'nostromo.service')
-rw-r--r--nostromo.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/nostromo.service b/nostromo.service
new file mode 100644
index 000000000000..ae903d1e98e3
--- /dev/null
+++ b/nostromo.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Nostromo - A simple, fast, and secure HTTP server
+After=network.target
+
+[Service]
+Type=forking
+PrivateDevices=yes
+ExecStart=/usr/bin/nhttpd
+ExecReload=/bin/kill -HUP $MAINPID
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target