Skip to content

Commit 3453640

Browse files
committed
Forgot to enable services after updates
1 parent 0a6cb18 commit 3453640

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

firstBootSetup.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ EOF
125125
echo "### Script successful, see updateProject.log..."
126126

127127

128-
echo -e "###\n### Enabling startup services...\n###"
129-
systemctl enable movit_acquisition.service
130-
systemctl enable movit_frontend.service
131-
systemctl enable movit_backend.service
132-
133128
#This next part of the script is long to execute. Should be launched manually if needed
134129
#echo -e "###\n### Executing 'updateProject.sh' with '--init-project'...\n###"
135130
#$MovitPath/./updateProject.sh --init-project

updateProject.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,12 @@ elif [[ $1 == $GitArg || $2 == $GitArg ]]; then
183183
systemctl start movit_frontend.service
184184
systemctl start movit_backend.service
185185

186-
echo "Updating 'firstBootSetup.sh' in $HomePath"
186+
echo -e "###\n### Enabling startup services...\n###"
187+
systemctl enable movit_acquisition.service
188+
systemctl enable movit_frontend.service
189+
systemctl enable movit_backend.service
190+
191+
echo "### Updating 'firstBootSetup.sh' in $HomePath"
187192
sudo -u pi cp $MovitPath/firstBootSetup.sh $HomePath/firstBootSetup.sh
188193

189194
echo "### Done updating"

0 commit comments

Comments
 (0)