diff options
author | cremesk <ennik@envs.net> | 2019-07-13 16:35:36 +0200 |
---|---|---|
committer | cremesk <ennik@envs.net> | 2019-07-13 16:35:36 +0200 |
commit | f3e13717823afb645ca9386280ca28d630024570 (patch) | |
tree | 9c502229ddd4b2cefb90c1fda26d33ec008f1cf6 /config/0x0.service | |
parent | change repo url in README.md (diff) | |
download | hex-zero-f3e13717823afb645ca9386280ca28d630024570.tar.gz hex-zero-f3e13717823afb645ca9386280ca28d630024570.tar.bz2 hex-zero-f3e13717823afb645ca9386280ca28d630024570.zip |
rename config folder
Diffstat (limited to 'config/0x0.service')
-rw-r--r-- | config/0x0.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config/0x0.service b/config/0x0.service new file mode 100644 index 0000000..ace57c0 --- /dev/null +++ b/config/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 |