Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd-socketmapd
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uffd
uffd-socketmapd
Commits
6622930c
Verified
Commit
6622930c
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
add untested systemd socket and service units
parent
1aeea544
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#8053
passed
3 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
uffd-socketmap@.service
+42
-0
42 additions, 0 deletions
uffd-socketmap@.service
uffd-socketmap@.socket
+12
-0
12 additions, 0 deletions
uffd-socketmap@.socket
with
54 additions
and
0 deletions
uffd-socketmap@.service
0 → 100644
+
42
−
0
View file @
6622930c
[Unit]
Description
=
Socketmap proxy for uffd mail alias lookup
After
=
network.target
Before
=
postfix.service
[Service]
ExecStart
=
/usr/bin/uffd-socketmap --socket-fd 3
Restart
=
always
RestartSec
=
10
StandardOutput
=
syslog
StandardError
=
syslog
SyslogIdentifier
=
uffd-socketmap-%I
PrivateUsers
=
true
CapabilityBoundingSet
=
NoNewPrivileges
=
true
RemoveIPC
=
true
LockPersonality
=
true
ProtectControlGroups
=
true
ProtectKernelTunables
=
true
ProtectKernelModules
=
true
ProtectKernelLogs
=
true
ProtectClock
=
true
ProtectHostname
=
true
ProtectProc
=
noaccess
RestrictRealtime
=
true
RestrictSUIDSGID
=
true
RestrictNamespaces
=
true
RestrictAddressFamilies
=
AF_UNIX AF_INET AF_INET6
ProtectSystem
=
strict
ProtectHome
=
true
PrivateTmp
=
true
PrivateDevices
=
true
SystemCallArchitectures
=
native
SystemCallFilter
=
@system-service
EnvironmentFile
=
/etc/uffd-socketmap/defaults
EnvironmentFile
=
/etc/uffd-socketmap/$I.env
[Install]
WantedBy
=
default.target
This diff is collapsed.
Click to expand it.
uffd-socketmap@.socket
0 → 100644
+
12
−
0
View file @
6622930c
[Unit]
Description=Socket proxy for uffd mail alias lookup
PartOf=socketmap-proxy@%i.service
[Socket]
ListenStream=/run/socketmap-proxy/%I.sock
SocketUser=postfix
SocketGroup=postfix
SocketMode=0640
[Install]
WantedBy=sockets.target
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