diff options
author | cremesk <ennik@envs.net> | 2019-06-30 15:30:37 +0200 |
---|---|---|
committer | cremesk <ennik@envs.net> | 2019-06-30 15:30:37 +0200 |
commit | 3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f (patch) | |
tree | a4cb7774cd81228fb9a1da991198617bfb0b1ab5 /conf/0x0.service | |
parent | fix rst block (diff) | |
download | hex-zero-3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f.tar.gz hex-zero-3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f.tar.bz2 hex-zero-3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f.zip |
move config file in folder
Diffstat (limited to 'conf/0x0.service')
-rw-r--r-- | conf/0x0.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/0x0.service b/conf/0x0.service new file mode 100644 index 0000000..ace57c0 --- /dev/null +++ b/conf/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 |