add lemur service

This commit is contained in:
Emmanuel Garette 2020-11-09 07:45:00 +01:00
parent 996c15165a
commit 3b15634a55
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<creole> <creole>
<files> <files>
<!--service>lemur</service--> <service>lemur</service>
<file name='/etc/lemur/lemur.conf.py' mkdir='True'/> <file name='/etc/lemur/lemur.conf.py' mkdir='True'/>
<file name='/etc/eole/eole-db.d/lemur.yml'/> <file name='/etc/eole/eole-db.d/lemur.yml'/>
<file name='/etc/nginx/web.d/lemur.conf' source='nginx-lemur.conf'/> <file name='/etc/nginx/web.d/lemur.conf' source='nginx-lemur.conf'/>

View File

@ -14,6 +14,5 @@ chgrp lemur /etc/lemur/*
systemctl start postgresql.service systemctl start postgresql.service
su - lemur -s /bin/bash -c "lemur --config=/etc/lemur/lemur.conf.py init --password $(CreoleGet lemur_admin_password)" su - lemur -s /bin/bash -c "lemur --config=/etc/lemur/lemur.conf.py init --password $(CreoleGet lemur_admin_password)"
systemctl stop postgresql.service systemctl stop postgresql.service
rm -f *.log
exit 0 exit 0