Skip to content

Commit

Permalink
Update installation-systemd.md: Move steps re sqlite to end of synops…
Browse files Browse the repository at this point in the history
…is for clarity
  • Loading branch information
shotcollin committed Jul 14, 2024
1 parent 3bc21e9 commit 26b01c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/en/docs/installation-systemd.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ $ sudo install -Dm0644 "/opt/photoview/systemd/photoview.sysusers.conf" "/usr/li
$ sudo install -Dm0644 "/opt/photoview/systemd/photoview.tmpfiles" "/usr/lib/tmpfiles.d/photoview.conf"
$ sudo install -d "/var/cache/photoview/media_cache"
$ sudo chown -R photoview:photoview /var/cache/photoview
# The next two lines are if you plan to use `sqlite`
$ sudo install -d "/var/lib/photoview"
$ sudo chown -R photoview:photoview /var/lib/photoview
$ cd /opt/photoview/ui/dist
$ sudo find * -type f -exec install -Dm0644 "{}" "/usr/share/webapps/photoview-ui/{}" \;
$ cd /opt/photoview/api
$ sudo install -Dm0755 -t "/usr/lib/photoview" "/opt/photoview/api/photoview"
$ sudo ln -s /usr/lib/photoview/photoview /usr/bin/photoview
$ sudo find data -type f -exec install -Dm0644 "{}" "/usr/lib/photoview/{}" \;
$ sudo install -Dm0644 "/opt/photoview/api/example.env" "/etc/photoview.env"
# The next two lines are if you plan to use `sqlite`
$ sudo install -d "/var/lib/photoview"
$ sudo chown -R photoview:photoview /var/lib/photoview
```
### Using the `systemd` unit file

Expand Down

0 comments on commit 26b01c5

Please sign in to comment.