home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Realize previous commit in postinstall script.
[config]
/
jessie_start_server.sh
diff --git
a/jessie_start_server.sh
b/jessie_start_server.sh
index 4db22876333b3c25aaaef5386129d5042535ce3f..0f9746c721f485a5c71b1a6661703812947e7bd7 100755
(executable)
--- a/
jessie_start_server.sh
+++ b/
jessie_start_server.sh
@@
-24,7
+24,7
@@
echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf.d/99mindeps
# Set hostname and FQDN.
echo 'plomlompom' > /etc/hostname
# Set hostname and FQDN.
echo 'plomlompom' > /etc/hostname
-echo '127.0.0.1' > /etc/hosts
+echo '127.0.0.1
localhost
' > /etc/hosts
ip=`hostname -I`
echo "$ip plomlompom.com plomlompom" >> /etc/hosts
ip=`hostname -I`
echo "$ip plomlompom.com plomlompom" >> /etc/hosts
@@
-97,18
+97,7
@@
apt-get -y install iputils-ping
# Set up irssi.
apt-get -y install irssi
# Set up irssi.
apt-get -y install irssi
-cat > /etc/systemd/system/irssi.service << EOF
-[Unit]
-Description=irssi screen
-
-[Service]
-Type=forking
-User=plom
-ExecStart=/bin/sh /home/plom/config/other/screen-irssi.sh
-
-[Install]
-WantedBy=multi-user.target
-EOF
+cp config/systemfiles/irssi.service /etc/systemd/system/irssi.service
systemctl enable /etc/systemd/system/irssi.service
# Clean up.
systemctl enable /etc/systemd/system/irssi.service
# Clean up.