diff --git a/dist/etc/systemd/system/telebitd.service b/dist/etc/systemd/system/telebitd.service index 468fa8a..0adbb07 100644 --- a/dist/etc/systemd/system/telebitd.service +++ b/dist/etc/systemd/system/telebitd.service @@ -44,10 +44,10 @@ ProtectSystem=full # and /var/log/gitea because we want a place where logs can go. # This merely retains r/w access rights, it does not add any new. # Must still be writable on the host! -ReadWriteDirectories=/opt/telebitd +ReadWriteDirectories=/opt/telebitd /etc/telebit # Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories -; ReadWritePaths=/opt/telebitd +; ReadWritePaths=/opt/telebitd /etc/telebit # The following additional security directives only work with systemd v229 or later. # They further retrict privileges that can be gained by gitea. diff --git a/examples/telebitd.yml b/examples/telebitd.yml index 9b6af63..8726841 100644 --- a/examples/telebitd.yml +++ b/examples/telebitd.yml @@ -1,3 +1,5 @@ servernames: [] email: 'jon@example.com' agree_tos: true +community_member: true +vhost: /srv/www/:hostname diff --git a/installer/get.sh b/installer/get.sh index c3bb5da..92b33d5 100644 --- a/installer/get.sh +++ b/installer/get.sh @@ -156,6 +156,10 @@ sudo systemctl daemon-reload sudo systemctl enable $my_app sudo systemctl restart $my_app +echo "Adding example config" +echo "sudo rsync -av examples/$my_app.yml /etc/$my_user/$my_app.yml" +sudo rsync -av examples/$my_app.yml /etc/$my_user/$my_app.yml + echo "" echo "" echo "Installed successfully. Try it out:"