Skip to content

Commit

Permalink
Update installation-systemd.md: Add chown commands to synopsis of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
shotcollin committed Jul 14, 2024
1 parent c293407 commit 3bc21e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/en/docs/installation-systemd.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ $ sudo install -Dm0644 -t "/usr/lib/systemd/system" "/opt/photoview/systemd/phot
$ sudo install -Dm0644 "/opt/photoview/systemd/photoview.sysusers.conf" "/usr/lib/sysusers.d/photoview.conf"
$ sudo install -Dm0644 "/opt/photoview/systemd/photoview.tmpfiles" "/usr/lib/tmpfiles.d/photoview.conf"
$ sudo install -d "/var/cache/photoview/media_cache"
# The next line is if you plan to use `sqlite`
$ 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
Expand Down

0 comments on commit 3bc21e9

Please sign in to comment.