Update discord-account-verification.service
This commit is contained in:
parent
06f4b24d6e
commit
4bcd5d174d
|
@ -7,6 +7,7 @@ Type=exec
|
||||||
|
|
||||||
# environment variables
|
# environment variables
|
||||||
Environment=HOME=/opt/discord-account-verification/
|
Environment=HOME=/opt/discord-account-verification/
|
||||||
|
Environment=SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||||
Environment=BOT_TOKEN=
|
Environment=BOT_TOKEN=
|
||||||
Environment=PUBLIC_CHANNEL=
|
Environment=PUBLIC_CHANNEL=
|
||||||
Environment=DATABASE_PATH=/opt/discord-account-verification/database.db
|
Environment=DATABASE_PATH=/opt/discord-account-verification/database.db
|
||||||
|
@ -22,9 +23,9 @@ Group=discord-account-verification
|
||||||
|
|
||||||
# filesystem
|
# filesystem
|
||||||
TemporaryFileSystem=/:ro
|
TemporaryFileSystem=/:ro
|
||||||
BindReadOnlyPaths=/lib/ /lib64/ /usr/lib/ /usr/lib64/ /opt/discord-account-verification/
|
BindReadOnlyPaths=/lib/ /lib64/ /usr/lib/ /usr/lib64/ /etc/ssl/certs/
|
||||||
BindReadOnlyPaths=/usr/bin/python3 /usr/bin/kill
|
BindReadOnlyPaths=/usr/bin/python3 /usr/bin/python3.9 /usr/bin/kill
|
||||||
BindPaths=/opt/discord-account-verification/database.db
|
BindPaths=/opt/discord-account-verification/
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
ProtectControlGroups=true
|
ProtectControlGroups=true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user