mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-17 12:01:05 +00:00
Fix systemd services installation
This needs to be done manually. Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
13
README.md
13
README.md
@@ -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!
|
||||
|
||||
|
||||
11
install.sh
11
install.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user