api: Created systemd service file.

This commit is contained in:
Jonathan Bernard 2019-05-18 13:26:19 -05:00
parent 98f9e84824
commit 6c049b3bda

View File

@ -0,0 +1,9 @@
[Unit]
Description=Personal Measure API
[Service]
Type=simple
User=pmapi
WorkingDirectory=/home/pmapi
ExecStart=/home/pmapi/personal_measure_api
Restart=on-failure