dustin
/
jenkinsagent
Archived
1
0
Fork 0
This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
jenkinsagent/rootfs/overlay/usr/lib/systemd/system/htop.service

23 lines
420 B
INI

[Unit]
Description=htop process viewer
Conflicts=gtty@tty1.service
[Service]
ExecStart=/usr/bin/htop --readonly
TTYPath=/dev/tty1
StandardInput=tty
StandardOutput=tty
StandardError=journal
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
#PrivateDevices=true
PrivateNetwork=true
ProtectKernelTunables=true
ProtectKernelModules=true
CapabilityBoundingSet=
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target