mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-04-21 11:00:37 +00:00
update service installer
This commit is contained in:
parent
5d8985732e
commit
d3022c246e
4
dist/etc/systemd/system/telebitd.service
vendored
4
dist/etc/systemd/system/telebitd.service
vendored
@ -44,10 +44,10 @@ ProtectSystem=full
|
|||||||
# and /var/log/gitea because we want a place where logs can go.
|
# 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.
|
# This merely retains r/w access rights, it does not add any new.
|
||||||
# Must still be writable on the host!
|
# 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
|
# 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.
|
# The following additional security directives only work with systemd v229 or later.
|
||||||
# They further retrict privileges that can be gained by gitea.
|
# They further retrict privileges that can be gained by gitea.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
servernames: []
|
servernames: []
|
||||||
email: 'jon@example.com'
|
email: 'jon@example.com'
|
||||||
agree_tos: true
|
agree_tos: true
|
||||||
|
community_member: true
|
||||||
|
vhost: /srv/www/:hostname
|
||||||
|
@ -156,6 +156,10 @@ sudo systemctl daemon-reload
|
|||||||
sudo systemctl enable $my_app
|
sudo systemctl enable $my_app
|
||||||
sudo systemctl restart $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 ""
|
echo ""
|
||||||
echo "Installed successfully. Try it out:"
|
echo "Installed successfully. Try it out:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user