From f797db3856605f0c28f9dea46aaebfb3bbb42186 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 10 Dec 2018 03:11:09 +0100 Subject: [PATCH] Minor web server setup improvements. --- .../web/etc/systemd/system/plomlombot.service | 2 +- all_new_2018/setup_plomlombot.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2