package-pipelines-miscellan.../ansible-semaphore/semaphore.service

20 lines
441 B
SYSTEMD
Raw Normal View History

2023-12-05 23:40:22 +01:00
[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