X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=notes;h=1dcf1b4c276678c62bd89681037cc445b85dfada;hp=bdc190257c141a7b63e22b678b771bb4521defaa;hb=HEAD;hpb=0d72cfd4681a9494cf5c7d33877e124bdcc114f7 diff --git a/notes b/notes index bdc1902..1dcf1b4 100644 --- a/notes +++ b/notes @@ -21,3 +21,34 @@ n_updates=$(printf "$status" | grep -vE '^\?\?' | wc -l) if [ "$n_updates" -gt 0 ]; then git commit -a -m 'Update metadata' fi + + +furthermore, the url_catcher virtualenv run.sh script needs this (to compile uwsgi): + +apt-get install python3.4-dev + + +also, these: + +# /etc/systemd/system/url_catcher.service + +[Unit] +Description=URL catcher + +[Service] +Type=forking +User=plom +ExecStart=/bin/sh -c 'LC_ALL=en_US.UTF8 screen -d -m ~/url_catcher.sh' + +[Install] +WantedBy=multi-user.target + + + +and url_catcher.sh: + +#!/bin/sh + +cd ~ +cd url-catcher +./run.sh