Add systemd user services

This commit is contained in:
next2w 2022-10-04 16:15:27 -04:00
parent 3f75a08e5e
commit abd39afecf
2 changed files with 12 additions and 0 deletions

6
piano-backend.service Normal file
View File

@ -0,0 +1,6 @@
[Service]
ExecStart=python app.py
WorkingDirectory=%h/piano-appp/backend
[Install]
WantedBy=default.target

6
piano-frontend.service Normal file
View File

@ -0,0 +1,6 @@
[Service]
ExecStart=npm run start
WorkingDirectory=%h/piano-appp
[Install]
WantedBy=default.target