Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
385 B

[Unit]
Description=Anvil! Intelligent Availability Platform - Striker UI API
Wants=network.target
[Service]
Type=simple
# Run as apache to allow the API to access apache-owned locations; i.e., /mnt/shared.
User=apache
Group=apache
ExecStart=/usr/sbin/nodejs /usr/share/striker-ui-api/index.js
ExecStop=/bin/kill -WINCH ${MAINPID}
Restart=always
[Install]
WantedBy=multi-user.target