api: Created systemd service file.
This commit is contained in:
parent
98f9e84824
commit
6c049b3bda
9
api/src/main/systemd/personal_measure_api.service
Normal file
9
api/src/main/systemd/personal_measure_api.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user