mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-18 06:34:36 +03:00
fix: regenerate service file during update and restart service
This commit is contained in:
+2
-4
@@ -328,10 +328,8 @@ install_thefeed() {
|
||||
install_service
|
||||
start_service
|
||||
else
|
||||
# Update: just restart
|
||||
if [[ ! -f "$SERVICE_FILE" ]]; then
|
||||
install_service
|
||||
fi
|
||||
# Update: regenerate service file and restart
|
||||
install_service
|
||||
start_service
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user