Skip to content

Commit 5cd89b4

Browse files
committed
Add a script and a systemd unit for starting the webviewer
1 parent 41dee41 commit 5cd89b4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

data/rnaseq-pipeline-viewer.service

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description=PavLab RNA-Seq Pipeline Viewer
3+
After=multi-user.target
4+
5+
[Service]
6+
Type=simple
7+
WorkingDirectory=/space/grp/Pipelines/rnaseq-pipeline
8+
ExecStart=/space/grp/Pipelines/rnaseq-pipeline/scripts/webviewer
9+
User=poirigui
10+
11+
[Install]
12+
WantedBy=multi-user.target

scripts/webviewer

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/fish
2+
3+
conda activate rnaseq-pipeline
4+
exec gunicorn -e SCRIPT_NAME=/rnaseq-pipeline -b 0.0.0.0:8000 rnaseq_pipeline.webviewer:app --access-logfile pipeline-output/webviewer-logs/access.log --error-logfile pipeline-output/webviewer-logs/error.log

0 commit comments

Comments
 (0)