Skip to content
Snippets Groups Projects
Commit 6b662df5 authored by David Schmitz's avatar David Schmitz
Browse files

systemd integration for DEBIAN/UBUNTU

parent 98fc82fe
No related branches found
No related tags found
No related merge requests found
...@@ -240,6 +240,9 @@ else ...@@ -240,6 +240,9 @@ else
cp -v -f "$fod_systemd_dir/fod-gunicorn.service" "$fod_systemd_dir/fod-celeryd.service" "$fod_systemd_dir/fod-status-email-user@.service" "/etc/systemd/system/" 1>&2 cp -v -f "$fod_systemd_dir/fod-gunicorn.service" "$fod_systemd_dir/fod-celeryd.service" "$fod_systemd_dir/fod-status-email-user@.service" "/etc/systemd/system/" 1>&2
systemctl daemon-reload systemctl daemon-reload
systemctl enable fod-gunicorn
systemctl enable fod-celeryd
sleep 5 sleep 5
SYSTEMD_COLORS=1 systemctl status fod-gunicorn | cat SYSTEMD_COLORS=1 systemctl status fod-gunicorn | cat
echo echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment