Merge container logic into start.sh

This whole container thinking is over-engineered and we will get to
it if and when we need to.
This commit is contained in:
Girish Ramakrishnan
2016-12-29 12:01:59 -08:00
parent 3236f70d8b
commit 7de94fff1b
11 changed files with 120 additions and 138 deletions

View File

@@ -0,0 +1,16 @@
# Allocate swap files
# https://bbs.archlinux.org/viewtopic.php?id=194792 ensures this runs after do-resize.service
# On ubuntu ec2 we use cloud-init https://wiki.archlinux.org/index.php/Cloud-init
[Unit]
Description=Box Setup
Before=docker.service collectd.service mysql.service sshd.service nginx.service
After=cloud-init.service
[Service]
Type=oneshot
ExecStart="/home/yellowtent/box/setup/start/cloudron-system-setup.sh"
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target