mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-12-04 20:08:10 +00:00
16014e1594
they appear to cause strange rust malloc issues on Debian systems Signed-off-by: strawberry <strawberry@puppygock.gay>
63 lines
1.4 KiB
Desktop File
63 lines
1.4 KiB
Desktop File
[Unit]
|
|
Description=conduwuit Matrix homeserver
|
|
After=network.target
|
|
Documentation=https://conduwuit.puppyirl.gay/
|
|
RequiresMountsFor=/var/lib/private/conduwuit
|
|
|
|
[Service]
|
|
DynamicUser=yes
|
|
Type=notify
|
|
|
|
AmbientCapabilities=
|
|
CapabilityBoundingSet=
|
|
|
|
DevicePolicy=closed
|
|
LockPersonality=yes
|
|
MemoryDenyWriteExecute=yes
|
|
NoNewPrivileges=yes
|
|
#ProcSubset=pid
|
|
ProtectClock=yes
|
|
ProtectControlGroups=yes
|
|
ProtectHome=yes
|
|
ProtectHostname=yes
|
|
ProtectKernelLogs=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectProc=invisible
|
|
ProtectSystem=strict
|
|
PrivateDevices=yes
|
|
PrivateMounts=yes
|
|
PrivateTmp=yes
|
|
PrivateUsers=yes
|
|
PrivateIPC=yes
|
|
RemoveIPC=yes
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
RestrictNamespaces=yes
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
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=conduwuit
|
|
|
|
RuntimeDirectory=conduwuit
|
|
RuntimeDirectoryMode=0750
|
|
|
|
Environment="CONDUWUIT_CONFIG=/etc/conduwuit/conduwuit.toml"
|
|
BindPaths=/var/lib/private/conduwuit:/var/lib/matrix-conduit
|
|
BindPaths=/var/lib/private/conduwuit:/var/lib/private/matrix-conduit
|
|
|
|
ExecStart=/usr/bin/conduwuit
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
TimeoutStopSec=4m
|
|
TimeoutStartSec=4m
|
|
|
|
StartLimitInterval=1m
|
|
StartLimitBurst=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|