added hawser config, better linux layout

This commit is contained in:
Bart Sjerps
2026-06-28 12:52:04 +02:00
parent 3cc5ff41e3
commit fd8064f942
11 changed files with 169 additions and 29 deletions
Executable
BIN
View File
Binary file not shown.
+31
View File
@@ -0,0 +1,31 @@
[Unit]
Description=Hawser - Remote Docker Agent for Dockhand
Documentation=https://github.com/Finsys/hawser
After=network-online.target docker.service
Wants=network-online.target
Requires=docker.service
[Service]
Type=simple
ExecStart=/usr/local/bin/hawser
Restart=always
RestartSec=10
EnvironmentFile=/etc/hawser/config
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=hawser
# Security hardening (relaxed for Docker access)
# NoNewPrivileges=false
# ProtectSystem=strict
# ProtectHome=true
# ReadWritePaths=/var/run/docker.sock /data/stacks
# Resource limits
LimitNOFILE=65535
LimitNPROC=4096
[Install]
WantedBy=multi-user.target