api: Created systemd service file.
This commit is contained in:
1 parent
98f9e84824
commit
6c049b3bda
1 file changed
+9
@@ -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
|
||||
Reference in new issue
Block a user