Added files via upload
This commit is contained in:
parent
13e753a42e
commit
a2cc8dc789
@ -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
4
services/nadeko/run
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
umask 0002
|
||||||
|
cd /root/NadekoBot
|
||||||
|
XDG_CONFIG_HOME="/config/xdg" exec /sbin/setuser abc mono NadekoBot.exe
|
Loading…
Reference in New Issue
Block a user