From 3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f Mon Sep 17 00:00:00 2001 From: cremesk Date: Sun, 30 Jun 2019 15:30:37 +0200 Subject: move config file in folder --- conf/0x0.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 conf/0x0.service (limited to 'conf/0x0.service') 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 -- cgit