package-pipelines-miscellan.../ansible-semaphore/semaphore.service
2023-12-05 23:40:22 +01:00

19 lines
441 B
Desktop File

[Unit]
Description=Ansible Semaphore
After=network.target
#Requires=mysql.service
#Requires=postgresql.service
[Service]
# Modify these two values anda
Type=simple
User=semaphore
Group=semaphore
WorkingDirectory=/var/lib/semaphore
ExecStart=/usr/bin/semaphore server --config /etc/semaphore/config.json
Restart=always
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target