2022-03-03 21:26:12 +00:00
|
|
|
[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
|
2022-03-18 23:55:18 +00:00
|
|
|
ExecStart=/usr/bin/node /usr/share/striker-ui-api/index.js
|
2022-03-03 21:26:12 +00:00
|
|
|
ExecStop=/bin/kill -WINCH ${MAINPID}
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|