diff options
author | B. Stack <bgstack15@gmail.com> | 2022-03-16 14:10:45 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-03-16 14:10:45 -0400 |
commit | 5ff15f53eb16c1b6326c6127744908d9b105214c (patch) | |
tree | 654eeb5729f1f3be6022c1b3be2ea9480c3c3f16 /extra/fifconfig.service | |
download | fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.tar.gz fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.tar.bz2 fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.zip |
initial commit
Diffstat (limited to 'extra/fifconfig.service')
-rw-r--r-- | extra/fifconfig.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/fifconfig.service b/extra/fifconfig.service new file mode 100644 index 0000000..fe56e8f --- /dev/null +++ b/extra/fifconfig.service @@ -0,0 +1,21 @@ +[Unit] +Description=fifconfig http client diagnostic webapp +Wants=network-online.target +After=network.target syslog.target + +[Service] +Environment=FIFCONFIG_WSGI_INI=/etc/fifconfig.wsgi.ini +Environment=FIFCONFIG_CONF=/etc/fifconfig.conf +WorkingDirectory=/var/fifconfig +User=fifconfig +Group=fifconfig +Type=simple +ExecStart=/usr/sbin/fifconfig.bin +TimeoutStartSec=120 +ExecStop=/usr/sbin/uwsgi --stop /var/fifconfig/fifconfig-wsgi.pid +RestartSec=15 +Restart=always +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target |