Systemd service file to new user and dir
This commit is contained in:
parent
4fcd5f87dc
commit
90822d761a
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=PlottingData COCO interface
|
Description=PlottingData COCO interface
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/ruben/coco/venv/bin/python /home/ruben/coco/server.py --db /home/ruben/coco/coco_train.db --port 8080
|
ExecStart=/home/pd/coco/venv/bin/python /home/pd/coco/server.py --db /home/pd/coco/coco_train.db --port 8080
|
||||||
WorkingDirectory=/home/ruben/coco
|
WorkingDirectory=/home/pd/coco
|
||||||
User=www-data
|
User=pd
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue