apolloapi-v2/backend/apollo-miner.service
John 3284368a47 Initial changes for bitcoin port
added node systemd and supporting start/stop scripts
2021-04-02 19:30:02 -04:00

16 lines
289 B
Desktop File

[Unit]
Description=apollo-miner
After=network.target
[Service]
Type=forking
User=root
#Start:
ExecStart=/opt/apolloapi/apollo-miner/miner_start.sh
WorkingDirectory=/opt/apolloapi/apollo-miner
#Stop:
ExecStop=/opt/apolloapi/apollo-miner/miner_stop.sh
[Install]
WantedBy=multi-user.target