forked from snxraven/autoinstallers
first commit
This commit is contained in:
26
install/startfiles/base
Normal file
26
install/startfiles/base
Normal file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
export CID=$(basename $(cat /proc/1/cpuset))
|
||||
service ssh start
|
||||
sh /var/tools/getsystemctl.sh
|
||||
|
||||
#DISCORD-LINUX AUTOINSTALLER
|
||||
#DONOTREMOVE
|
||||
#webmin
|
||||
#osjs
|
||||
#wp
|
||||
#ENDDONOTREMOVE
|
||||
|
||||
#ADD ANY SERVICES YOU NEED TO BOOT ON START UP BELOW
|
||||
#DO NOT ADD ANY LINES BELOW THE TAIL -F /DEV/NULL
|
||||
#DOING SO WILL BREAK YOUR CONTAINER.
|
||||
|
||||
#CUSTOM SERVICES START
|
||||
|
||||
|
||||
|
||||
|
||||
#CUSTOM SERVICES END
|
||||
|
||||
#DONOTREMOVEEVER
|
||||
tail -f /dev/null
|
||||
#DONOTPUTANYTHINGBELOWTHISLINEEVER
|
15
install/startfiles/dlinux-service.service
Normal file
15
install/startfiles/dlinux-service.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=dlinux service
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
EnvironmentFile=
|
||||
WorkingDirectory=/root/.service
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=root
|
||||
ExecStart=/usr/bin/node /root/.service/dlinux
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
6
install/startfiles/webmin
Normal file
6
install/startfiles/webmin
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
export CID=$(basename $(cat /proc/1/cpuset))
|
||||
service ssh start
|
||||
sh /var/tools/getsystemctl.sh
|
||||
service webmin start
|
||||
tail -f /dev/null
|
Reference in New Issue
Block a user