Ubuntu Pastebin

Paste from bdx at Tue, 5 Dec 2017 01:46:03 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
$ sudo cat /snap/pdl-api/current/wrappers/nginx
#!/bin/bash

set -e

export LC_ALL=C.UTF-8
export LANG=C.UTF-8

exec "$SNAP/nginx/sbin/nginx" "-c" "$SNAP/nginx/conf/nginx.conf" "-p" "$SNAP_COMMON/nginx" "-s" "reload" "-g" "daemon off;"
ubuntu@ip-172-31-104-134:~$ pdl-api.nginx
nginx: [alert] kill(17878, 1) failed (1: Operation not permitted)
ubuntu@ip-172-31-104-134:~$ /snap/bin/pdl-api.nginx
nginx: [alert] kill(17878, 1) failed (1: Operation not permitted)
Download as text