aboutsummaryrefslogtreecommitdiff
path: root/package/python-web2py/web2py.service
diff options
context:
space:
mode:
authorGravatar Angelo Compagnucci <angelo.compagnucci@gmail.com>2015-04-14 17:05:04 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-23 22:21:52 +0200
commit7c0fab65aae632fc820edbe570c40f93c765dd64 (patch)
treebedb5e26ac8a4ae244657390111e2bfef4de7148 /package/python-web2py/web2py.service
parent84057b2eaddf093cfa97377c6f1aa01a3aa8cc4b (diff)
downloadbuildroot-7c0fab65aae632fc820edbe570c40f93c765dd64.tar.gz
buildroot-7c0fab65aae632fc820edbe570c40f93c765dd64.tar.bz2
package/python-web2py: new package
This patch adds web2py package. web2py is a free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. [Thomas: fixup symbolic link to the systemd service file.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-web2py/web2py.service')
-rw-r--r--package/python-web2py/web2py.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/python-web2py/web2py.service b/package/python-web2py/web2py.service
new file mode 100644
index 0000000000..0274bd8c53
--- /dev/null
+++ b/package/python-web2py/web2py.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Web2py daemon
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/var/www/web2py/web2py.py --nogui -a '<recycle>' -i 0.0.0.0 -p 8000
+User=www-data
+
+[Install]
+WantedBy=multi-user.target