From: Steinar H. Gunderson Date: Sat, 28 Nov 2015 13:35:03 +0000 (+0100) Subject: Do not run the app server as root. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=cafe1a4a0d6247a9349fd14b325273c958a3f985 Do not run the app server as root. --- diff --git a/pr0n.service b/pr0n.service index a3f207e..491d7bd 100644 --- a/pr0n.service +++ b/pr0n.service @@ -7,6 +7,7 @@ ExecStart=/usr/bin/start_server --port=127.0.0.1:5015 -- plackup -I/srv/pr0n.ses Type=simple Restart=on-failure ExecReload=/bin/kill -HUP $MAINPID +User=pr0n [Install] WantedBy=multi-user.target