Files
muscl/assets/systemd/muscle.service
h7x4 027af5c456
Some checks failed
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
Build and test / check (push) Has been cancelled
Build and test / build (push) Has been cancelled
Rename project to muscle
2025-11-26 03:41:43 +09:00

55 lines
1.1 KiB
Desktop File

[Unit]
Description=MySQL administration tool for non-admin users
Requires=muscle.socket
[Service]
Type=notify
ExecStart=/usr/bin/muscle server --systemd socket-activate
WatchdogSec=15
User=muscle
Group=muscle
DynamicUser=yes
ConfigurationDirectory=muscle
RuntimeDirectory=muscle
# This is required to read unix user/group details.
PrivateUsers=false
# Needed to communicate with MySQL.
PrivateNetwork=false
PrivateIPC=false
AmbientCapabilities=
CapabilityBoundingSet=
DeviceAllow=
DevicePolicy=closed
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true
PrivateMounts=true
PrivateTmp=yes
ProcSubset=pid
ProtectClock=true
ProtectControlGroups=strict
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectProc=invisible
ProtectSystem=strict
RemoveIPC=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
SocketBindDeny=any
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources
UMask=0777