Skip to content
Snippets Groups Projects
Commit e83ba12b authored by Sebastian Robitzsch's avatar Sebastian Robitzsch
Browse files

Make CLMC start after FQDN registration service. Closes #90

parent 0346d279
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,8 @@ chmod 755 $start_script_file
file="/lib/systemd/system/flameclmc.service"
echo "[Unit]" > $file
echo "Description=flameclmc" >> $file
echo "After=network.target" >> $file
echo "After=flame-fqdn-registration.service" >> $file
echo "Requires=flame-fqdn-registration.service" >> $file
echo "" >> $file
echo "[Service]" >> $file
echo "Type=forking" >> $file
......@@ -135,4 +136,4 @@ done
# install and start nginx
apt-get install nginx -y
cp ${REPO_ROOT}/scripts/clmc-service/nginx.conf /etc/nginx/nginx.conf
systemctl restart nginx # nginx is already started on installation, to read the new conf it needs to be restarted
\ No newline at end of file
systemctl restart nginx # nginx is already started on installation, to read the new conf it needs to be restarted
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