Fix naming issues, directories will be moved in the post_upgrade function

This commit is contained in:
Kimiblock Moe 2024-06-16 09:48:25 +08:00 committed by June 🍓🦴
parent 332fc74fb8
commit 1323506c88

View file

@ -2,6 +2,7 @@
Description=conduwuit Matrix homeserver
After=network.target
Documentation=https://conduwuit.puppyirl.gay/
RequiresMountsFor=/var/lib/private/conduwuit
[Service]
DynamicUser=yes
@ -38,7 +39,7 @@ SystemCallArchitectures=native
SystemCallFilter=@system-service @resources
SystemCallFilter=~@clock @debug @module @mount @reboot @swap @cpu-emulation @obsolete @timer @chown @setuid @privileged @keyring @ipc
SystemCallErrorNumber=EPERM
StateDirectory=matrix-conduit
StateDirectory=conduwuit
RuntimeDirectory=conduwuit
RuntimeDirectoryMode=0750
@ -47,9 +48,7 @@ Environment="CONDUIT_CONFIG=/etc/conduwuit/conduwuit.toml"
ExecStart=/usr/bin/conduwuit
Restart=on-failure
RestartSec=1
RestartSteps=1
RestartMaxDelaySec=6000s
RestartSec=5
TimeoutStopSec=4m
TimeoutStartSec=4m