Added files via upload

This commit is contained in:
Poag 2016-05-05 09:57:19 +01:00
parent 13e753a42e
commit a2cc8dc789
2 changed files with 8 additions and 3 deletions

View File

@ -38,6 +38,7 @@ RUN apt-get autoclean -y; apt-get autoremove -y &&\
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#Run Bot #Adding Custom files
WORKDIR /root/NadekoBot &&\ ADD init/ /etc/my_init.d/
mono NadekoBot.exe ADD services/ /etc/service/
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh

4
services/nadeko/run Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
umask 0002
cd /root/NadekoBot
XDG_CONFIG_HOME="/config/xdg" exec /sbin/setuser abc mono NadekoBot.exe