diff --git a/conf/systemd.service b/conf/systemd.service index c10f8f0..812aef7 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,10 +6,12 @@ After=syslog.target network.target Environment="LC_ALL=C.UTF-8" Environment="LANG=C.UTF-8" Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +USER=__APP__ +GROUP=__APP__ ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py Restart=always RestartSec=10 WorkingDirectory=__FINALPATH__ [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target