summarylogtreecommitdiffstats
path: root/nxt.service
diff options
context:
space:
mode:
authorDavid Parrish2015-06-18 23:33:40 -0400
committerDavid Parrish2015-06-18 23:33:40 -0400
commit6a69f883b7e246c5c5183a814de10b92ed93bfe4 (patch)
tree38733379b49ca178b79b332e1e092e7cb8ed366f /nxt.service
downloadaur-6a69f883b7e246c5c5183a814de10b92ed93bfe4.tar.gz
Initial commit for NXT service package
Diffstat (limited to 'nxt.service')
-rw-r--r--nxt.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/nxt.service b/nxt.service
new file mode 100644
index 000000000000..d897342cd201
--- /dev/null
+++ b/nxt.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=NXT
+After=network.target
+
+[Service]
+User=nxt
+ExecStart=/usr/bin/bash -c 'cd /opt/nxt/; ./run.sh'
+
+[Install]
+WantedBy=multi-user.target