diff options
author | next2w | 2022-10-04 16:15:27 -0400 |
---|---|---|
committer | next2w | 2022-10-04 16:15:27 -0400 |
commit | abd39afecf0758749ba34ffb4007ccbef100cc96 (patch) | |
tree | 1e9e110ac25eb5cd8342811f6d502e981781d382 | |
parent | 3f75a08e5e5c1e4b24d8eb7e03653cbe5d26a4e2 (diff) |
Add systemd user services
-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 |