Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
conduwuit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
🥺
conduwuit
Commits
9be73d34
Commit
9be73d34
authored
1 year ago
by
🥺
Committed by
🥺
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
update debian systemd unit to use notify and harden/update it more
Signed-off-by:
strawberry
<
strawberry@puppygock.gay
>
parent
3ff5bc52
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/matrix-conduit.service
+14
-4
14 additions, 4 deletions
debian/matrix-conduit.service
with
14 additions
and
4 deletions
debian/matrix-conduit.service
+
14
−
4
View file @
9be73d34
[Unit]
[Unit]
Description
=
Conduit Matrix homeserver
Description
=
Conduit Matrix homeserver
After
=
network.target
After
=
network
-online
.target
[Service]
[Service]
DynamicUser
=
yes
DynamicUser
=
yes
User
=
_matrix-conduit
User
=
_matrix-conduit
Group
=
_matrix-conduit
Group
=
_matrix-conduit
Type
=
simple
Type
=
notify
AmbientCapabilities
=
AmbientCapabilities
=
CapabilityBoundingSet
=
CapabilityBoundingSet
=
DevicePolicy
=
closed
LockPersonality
=
yes
LockPersonality
=
yes
MemoryDenyWriteExecute
=
yes
MemoryDenyWriteExecute
=
yes
NoNewPrivileges
=
yes
NoNewPrivileges
=
yes
ProcSubset
=
pid
ProtectClock
=
yes
ProtectClock
=
yes
ProtectControlGroups
=
yes
ProtectControlGroups
=
yes
ProtectHome
=
yes
ProtectHome
=
yes
...
@@ -20,26 +23,33 @@ ProtectHostname=yes
...
@@ -20,26 +23,33 @@ ProtectHostname=yes
ProtectKernelLogs
=
yes
ProtectKernelLogs
=
yes
ProtectKernelModules
=
yes
ProtectKernelModules
=
yes
ProtectKernelTunables
=
yes
ProtectKernelTunables
=
yes
ProtectProc
=
invisible
ProtectSystem
=
strict
ProtectSystem
=
strict
PrivateDevices
=
yes
PrivateDevices
=
yes
PrivateMounts
=
yes
PrivateMounts
=
yes
PrivateTmp
=
yes
PrivateTmp
=
yes
PrivateUsers
=
yes
PrivateUsers
=
yes
PrivateIPC
=
yes
RemoveIPC
=
yes
RemoveIPC
=
yes
RestrictAddressFamilies
=
AF_INET AF_INET6
RestrictAddressFamilies
=
AF_INET AF_INET6
AF_UNIX
RestrictNamespaces
=
yes
RestrictNamespaces
=
yes
RestrictRealtime
=
yes
RestrictRealtime
=
yes
RestrictSUIDSGID
=
yes
RestrictSUIDSGID
=
yes
SystemCallArchitectures
=
native
SystemCallArchitectures
=
native
SystemCallFilter
=
@system-service
SystemCallFilter
=
@system-service
SystemCallFilter
=
~@clock @debug @module @mount @reboot @swap @cpu-emulation @obsolete @timer @chown @setuid @resources @privileged @keyring @ipc
SystemCallErrorNumber
=
EPERM
SystemCallErrorNumber
=
EPERM
StateDirectory
=
matrix-conduit
StateDirectory
=
matrix-conduit
RuntimeDirectory
=
conduit
RuntimeDirectoryMode
=
0750
Environment
=
"CONDUIT_CONFIG=/etc/matrix-conduit/conduit.toml"
Environment
=
"CONDUIT_CONFIG=/etc/matrix-conduit/conduit.toml"
ExecStart
=
/usr/sbin/matrix-conduit
ExecStart
=
/usr/sbin/matrix-conduit
Restart
=
on-failure
Restart
=
on-failure
RestartSec
=
10
RestartSec
=
5
StartLimitInterval
=
1m
StartLimitInterval
=
1m
StartLimitBurst
=
5
StartLimitBurst
=
5
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment