aboutsummaryrefslogtreecommitdiff
path: root/0x0.service
diff options
context:
space:
mode:
authorcremesk <ennik@envs.net>2019-06-30 04:22:52 +0200
committercremesk <ennik@envs.net>2019-06-30 04:22:52 +0200
commit3a111d51762e268513cefe2a187e20a7e7c60abb (patch)
treeead4230f9cba513b230097623a8c802c58c87c3b /0x0.service
parentfix fhost.py (diff)
downloadhex-zero-3a111d51762e268513cefe2a187e20a7e7c60abb.tar.gz
hex-zero-3a111d51762e268513cefe2a187e20a7e7c60abb.tar.bz2
hex-zero-3a111d51762e268513cefe2a187e20a7e7c60abb.zip
update and add config file
Diffstat (limited to '0x0.service')
-rw-r--r--0x0.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/0x0.service b/0x0.service
new file mode 100644
index 0000000..ace57c0
--- /dev/null
+++ b/0x0.service
@@ -0,0 +1,18 @@
+# /etc/systemd/system/0x0.service
+[Unit]
+Description=null pointer
+After=network.target
+
+[Service]
+Type=simple
+User=0x0
+Group=0x0
+WorkingDirectory=/srv/0x0/
+ExecStart=/usr/bin/uwsgi_python3 --socket 127.0.0.1:3031 --wsgi-file fhost.py --callable app --processes 4 --threads 2 --master
+Restart=always
+RestartSec=5
+StartLimitInterval=60s
+StartLimitBurst=3
+
+[Install]
+WantedBy=default.target
bgstack15