diff options
author | root@culturestrings <root@culturestrings> | 2020-05-18 09:26:47 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2020-05-18 09:26:47 +0000 |
commit | 11a554f79caf07fbf2fda666ae607222e0fac852 (patch) | |
tree | 7c49de78dd2be8ab3cb664bfd4e6f697a32cb4b7 /public/fs/etc/systemd | |
parent | 4892b54da58575b42286a0433da84c9c0cd31f91 (diff) | |
download | culturestrings-11a554f79caf07fbf2fda666ae607222e0fac852.tar.bz2 culturestrings-11a554f79caf07fbf2fda666ae607222e0fac852.tar.xz |
pagure: added core configuration files.
Diffstat (limited to 'public/fs/etc/systemd')
-rw-r--r-- | public/fs/etc/systemd/system/pagure_docs_web.service | 16 | ||||
-rw-r--r-- | public/fs/etc/systemd/system/pagure_web.service | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/public/fs/etc/systemd/system/pagure_docs_web.service b/public/fs/etc/systemd/system/pagure_docs_web.service new file mode 100644 index 0000000..a3002f6 --- /dev/null +++ b/public/fs/etc/systemd/system/pagure_docs_web.service @@ -0,0 +1,16 @@ +[Unit] +Description=Pagure docs web application +After=postgresql.service mariadb.service mysqld.service redis.target +Documentation=https://pagure.io/pagure + + +[Service] +ExecStart=/usr/bin/gunicorn --workers 4 --env PAGURE_CONFIG=/etc/pagure/pagure.cfg --access-logfile /var/log/pagure/access_docs_web.log --error-logfile /var/log/pagure/error_docs_web.log --bind unix:/tmp/.pagure_docs_web.sock pagure.docs_server:APP +Type=simple +User=git +Group=nginx +Restart=on-failure + + +[Install] +WantedBy=multi-user.target diff --git a/public/fs/etc/systemd/system/pagure_web.service b/public/fs/etc/systemd/system/pagure_web.service new file mode 100644 index 0000000..cf8f539 --- /dev/null +++ b/public/fs/etc/systemd/system/pagure_web.service @@ -0,0 +1,16 @@ +[Unit] +Description=Pagure web application +After=postgresql.service redis.target +Documentation=https://pagure.io/pagure + + +[Service] +ExecStart=/usr/bin/gunicorn --workers 4 --env PAGURE_CONFIG=/etc/pagure/pagure.cfg --access-logfile /var/log/pagure/access_web.log --error-logfile /var/log/pagure/error_web.log --bind unix:/tmp/.pagure_web.sock "pagure.flask_app:create_app()" +Type=simple +User=git +Group=nginx +Restart=on-failure + + +[Install] +WantedBy=multi-user.target |