Skip to content
Snippets Groups Projects
Commit 650ce91a authored by Måns Gezelius's avatar Måns Gezelius
Browse files

Separate runserver from init and disable for now

parent a086817f
No related branches found
No related tags found
2 merge requests!10Test,!9Devel
......@@ -41,12 +41,5 @@ class tracingcarbon {
include tracingcarbon::python
include tracingcarbon::yarn
exec { 'Run django' :
command => 'python3.9 manage.py runserver &',
path => [ '/usr/bin', '/bin' ],
cwd => '/home/mange61/tracing-carbon',
user => 'mange61',
unless => 'nc localhost 8000 -w 1',
}
# include tracingcarbon::runserver
}
class tracingcarbon::runserver () {
exec { 'Run django' :
command => 'python3.9 manage.py runserver',
path => [ '/usr/bin', '/bin' ],
command => 'pipenv run python3 manage.py runserver &',
path => [ '/home/mange61/.local/bin', '/usr/bin', '/bin' ],
cwd => '/home/mange61/tracing-carbon',
user => 'mange61',
unless => 'nc localhost 8000 -w 1',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment