Fix systemd services installation

This needs to be done manually.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
Juhyung Park
2024-03-04 15:22:21 +09:00
parent e455d4e619
commit f7e5e834ec
2 changed files with 12 additions and 12 deletions

View File

@@ -115,7 +115,18 @@ In summary, the `install.sh` script does the following:
* Limits listening host from 0.0.0.0 to 127.0.0.1 for microservices and machine-learning.
* Installs systemd services.
## 6. Install systemd services
Because the install script switches to the immich user during installation, you must install systemd services manually:
``` bash
sudo cp immich*.service /etc/systemd/system/
sudo systemctl daemon-reload
for i in immich*.service; do
sudo systemctl enable $i
sudo systemctl start $i
done
```
## Done!

View File

@@ -142,17 +142,6 @@ EOF
# Cleanup
rm -rf $TMP
# Installing systemd services
echo "Installing systemd services"
cd "$BASEDIR"
sudo cp immich*.service /etc/systemd/system/
sudo systemctl daemon-reload
for i in immich*.service; do
sudo systemctl enable $i
sudo systemctl start $i
done
echo
echo "Done"
echo