1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/gluebuddy/files/gluebuddy.service
Kristian Klausen e72738d2d1
Remove logging to the console from affected services
There is no reason for this and we very rarely use the console anyway.

Ref #541
2023-10-16 22:04:21 +02:00

27 lines
518 B
SYSTEMD

[Unit]
Description=gluebuddy service
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
EnvironmentFile=-/etc/conf.d/gluebuddy
ExecStart=/usr/local/bin/gluebuddy apply
DynamicUser=true
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
ProtectHostname=true
RestrictRealtime=true
CapabilityBoundingSet=
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target