typos and a outcomment try

This commit is contained in:
2e20 2024-10-06 21:04:15 +02:00
parent 253e0f68c0
commit 5d4d2d6a62

View file

@ -9,15 +9,15 @@ files_path = "files/matrix-synapse/"
## don't exexute on a local mashine ## don't exexute on a local mashine
if host.name != "@local": if host.name != "@local":
'''
## edit fstab to set wxallowd ## edit fstab to set wxallowd
'''
files.line( files.line(
name="edit fstab to set wxallowd", name="edit fstab to set wxallowd",
path="/etc/fstab", path="/etc/fstab",
# line="var ffs rw,nodev,", # line="var ffs rw,nodev,",
# line="var ffs rw,wxallowed,nodev,", # line="var ffs rw,wxallowed,nodev,",
# line="var /var ffs rw,wxallowed,nodev 0 0", # line="var /var ffs rw,wxallowed,nodev 0 0",
line="var /var ext4 rw,wxallowed,nodev 0 0", # line="var /var ext4 rw,wxallowed,nodev 0 0",
) )
''' '''
@ -56,7 +56,7 @@ if host.name != "@local":
) )
apt.packages( apt.packages(
name="install build-essential python3-dev libffi-def python3-pip python3-setuptools sqlite3 libssl-dev virtualenv libjpeg-dev libxslt1-dev libicu-dev for matrix-synapse-py3", name="install build-essential python3-dev libffi-def python3-pip python3-setuptools sqlite3 libssl-dev virtualenv libjpeg-dev libxslt1-dev libicu-dev as prerequisites for matrix-synapse-py3",
packages=["build-essential", packages=["build-essential",
"python3-dev", "python3-dev",
"libffi-dev", "libffi-dev",
@ -117,10 +117,13 @@ if host.name != "@local":
"cd /var/synapse", "cd /var/synapse",
], ],
# ) # )
#!!! change user to _synapse !!!# #!!! change user to _synapse !!!#
# _su_user="matrix-synapse", # _su_user="matrix-synapse",
# _su_user="_synapse", # _su_user="_synapse",
) )
# os.chdir("/var/synapse")
''' '''
[matrix] This account is currently not available. [matrix] This account is currently not available.
[matrix] Error: executed 0 commands [matrix] Error: executed 0 commands