2024-06-16 00:16:59 +00:00
|
|
|
[Unit]
|
|
|
|
Description=conduwuit Matrix homeserver
|
|
|
|
After=network.target
|
|
|
|
Documentation=https://conduwuit.puppyirl.gay/
|
2024-06-16 01:48:25 +00:00
|
|
|
RequiresMountsFor=/var/lib/private/conduwuit
|
2024-06-16 00:16:59 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
DynamicUser=yes
|
|
|
|
Type=notify
|
|
|
|
|
|
|
|
AmbientCapabilities=
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
|
|
|
|
DevicePolicy=closed
|
|
|
|
LockPersonality=yes
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
NoNewPrivileges=yes
|
2024-10-25 03:51:02 +00:00
|
|
|
#ProcSubset=pid
|
2024-06-16 00:16:59 +00:00
|
|
|
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
|
2024-06-16 01:48:25 +00:00
|
|
|
StateDirectory=conduwuit
|
2024-06-16 00:16:59 +00:00
|
|
|
|
|
|
|
RuntimeDirectory=conduwuit
|
|
|
|
RuntimeDirectoryMode=0750
|
|
|
|
|
2024-06-16 02:08:02 +00:00
|
|
|
Environment="CONDUWUIT_CONFIG=/etc/conduwuit/conduwuit.toml"
|
2024-07-01 17:13:31 +00:00
|
|
|
BindPaths=/var/lib/private/conduwuit:/var/lib/matrix-conduit
|
|
|
|
BindPaths=/var/lib/private/conduwuit:/var/lib/private/matrix-conduit
|
2024-06-16 00:16:59 +00:00
|
|
|
|
|
|
|
ExecStart=/usr/bin/conduwuit
|
|
|
|
Restart=on-failure
|
2024-06-16 01:48:25 +00:00
|
|
|
RestartSec=5
|
2024-06-16 00:16:59 +00:00
|
|
|
|
|
|
|
TimeoutStopSec=4m
|
|
|
|
TimeoutStartSec=4m
|
|
|
|
|
|
|
|
StartLimitInterval=1m
|
|
|
|
StartLimitBurst=5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|