diff options
-rw-r--r-- | piano-backend.service | 6 | ||||
-rw-r--r-- | piano-frontend.service | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/piano-backend.service b/piano-backend.service new file mode 100644 index 0000000..ddc274c --- /dev/null +++ b/piano-backend.service @@ -0,0 +1,6 @@ +[Service] +ExecStart=python app.py +WorkingDirectory=%h/piano-appp/backend + +[Install] +WantedBy=default.target diff --git a/piano-frontend.service b/piano-frontend.service new file mode 100644 index 0000000..8e356b2 --- /dev/null +++ b/piano-frontend.service @@ -0,0 +1,6 @@ +[Service] +ExecStart=npm run start +WorkingDirectory=%h/piano-appp + +[Install] +WantedBy=default.target |