mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-24 15:19:25 +00:00
10 lines
196 B
Plaintext
10 lines
196 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
cd /pagermaid/workdir
|
|
if [[ $RUN_AS_ROOT != true ]]; then
|
|
exec s6-setuidgid pagermaid python -m pagermaid
|
|
else
|
|
exec s6-setuidgid root python -m pagermaid
|
|
fi
|
|
|