From: Christian Heller Date: Mon, 10 Dec 2018 02:11:09 +0000 (+0100) Subject: Minor web server setup improvements. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/calendar?a=commitdiff_plain;h=f797db3856605f0c28f9dea46aaebfb3bbb42186;p=config Minor web server setup improvements. --- diff --git a/all_new_2018/linkable_etc_files/web/etc/systemd/system/plomlombot.service b/all_new_2018/linkable_etc_files/web/etc/systemd/system/plomlombot.service index 0286c60..6e228cb 100644 --- a/all_new_2018/linkable_etc_files/web/etc/systemd/system/plomlombot.service +++ b/all_new_2018/linkable_etc_files/web/etc/systemd/system/plomlombot.service @@ -4,7 +4,7 @@ Description=plomlombot screen [Service] Type=forking User=plom -ExecStart=/bin/sh -c 'screen -d -m ~/start_plomlombot.sh plomlombob "#plomlompomtest"' +ExecStart=/bin/sh -c 'screen -d -m -S plomlombot ~/start_plomlombot.sh plomlombob "#plomlompomtest"' [Install] WantedBy=multi-user.target diff --git a/all_new_2018/setup_plomlombot.sh b/all_new_2018/setup_plomlombot.sh index 547de44..eeb1688 100755 --- a/all_new_2018/setup_plomlombot.sh +++ b/all_new_2018/setup_plomlombot.sh @@ -5,7 +5,7 @@ config_tree_prefix="${HOME}/config/all_new_2018//" cp "${config_tree_prefix}"/user_scripts/start_plomlombot.sh /home/plom/ chown plom:plom /home/plom/start_plomlombot.sh apt -y install screen python3-venv -su plom -c "cd && git clone http://github.com/plomlompom/plomlombot-irc" +su plom -c "cd && git clone /var/public_repos/plomlombot-irc" systemctl enable /etc/systemd/system/plomlombot.service service plomlombot start mkdir -p /var/www/html/irclogs