File nomad.service of Package nomad

[Unit]
Description=Nomad
Documentation=https://nomadproject.io/docs/

[Service]
Type=simple

# User=nomad
# Group=nomad
# WorkingDirectory=/var/lib/nomad

EnvironmentFile=/etc/sysconfig/nomad
ExecStart=/usr/bin/nomad agent $NOMAD_OPTS

KillSignal=SIGINT

# Systemd hardening effort
# https://en.opensuse.org/openSUSE:Security_Features
# ProtectSystem=full
# ProtectHome=true
# PrivateDevices=true
# ProtectHostname=true
# ProtectClock=true
# ProtectKernelTunables=true
# ProtectKernelModules=true
# ProtectKernelLogs=true
# ProtectControlGroups=true
# RestrictRealtime=true

[Install]
WantedBy=multi-user.target
openSUSE Build Service is sponsored by