File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
21
21
git clone https://github.com/cs01/python-packaging-tools $HOME/webapps/python-packaging-tools || true
22
22
cd $HOME/webapps/python-packaging-tools
23
23
git reset --hard
24
- cd frontend
24
+ cd $HOME/webapps/python-packaging-tools/ frontend
25
25
yarn
26
26
yarn build
27
27
28
28
# reload and restart systemd service
29
- sudo cp scripts/python-packaging-tools.service /etc/systemd/system/python-packaging-tools.service
29
+ sudo cp $HOME/webapps/python-packaging-tools/ scripts/python-packaging-tools.service /etc/systemd/system/python-packaging-tools.service
30
30
sudo systemctl daemon-reload
31
31
sudo systemctl enable python-packaging-tools.service
32
32
sudo systemctl restart python-packaging-tools
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ After=network.target
6
6
[Service]
7
7
User =csmith
8
8
Group =www-data
9
- WorkingDirectory =$HOME /webapps/python-packaging-tools/backend
9
+ WorkingDirectory =/home/csmith /webapps/python-packaging-tools/backend
10
10
PermissionsStartOnly =true
11
- ExecStart =/bin/bash $HOME /webapps/python-packaging-tools/backend/start.sh
11
+ ExecStart =/bin/bash /home/csmith /webapps/python-packaging-tools/backend/start.sh
12
12
ExecStop =
13
13
Restart =on-failure
14
14
RestartSec =5s
You can’t perform that action at this time.
0 commit comments