Hongli Lai (Phusion)
d8968d136a
Improve setuser: set auxilliary groups and more environment variables
2014-02-15 12:42:31 +01:00
Hongli Lai (Phusion)
b6dac86e04
Improve the init system: support skipping startup files and running a custom main command
2014-02-15 12:11:48 +01:00
Hongli Lai (Phusion)
c22f8804ad
Correctly reap child processes that are adopted during invocation of init scripts.
2014-02-13 15:37:32 +01:00
Hongli Lai (Phusion)
37cd856425
Disable the insecure SSH key by default
2014-02-06 13:40:27 +01:00
Hongli Lai (Phusion)
a5f521b1b1
Change the name inside the insecure key
2014-02-06 13:06:40 +01:00
Matt Olson
892dcc7ca4
Bypass runsvdir-start in order to preserve env
...
runsvdir-start clears the environment, which wipes out any
environment variables passed in when the container starts.
This patch bypasses runsvdir-start and calls runsvdir directly,
preserving the current environment.
2014-02-05 11:52:48 -08:00
Hongli Lai (Phusion)
6786e7350d
Fixed syslog-ng startup problem
2014-02-03 17:03:39 +01:00
Hongli Lai (Phusion)
d2d1f713a4
Add forgotten file
2014-01-31 19:29:50 +01:00
Hongli Lai (Phusion)
abf75875a9
Do not save SSH host key in baseimage-docker. Instead, generate it automatically during boot.
2014-01-31 16:02:01 +01:00
Hongli Lai (Phusion)
62859010cb
Allow running scripts during startup.
2014-01-31 15:44:50 +01:00
Hongli Lai (Phusion)
2ac41ee8ab
Fix compatibility with latest Ubuntu 12.04 base image.
2014-01-31 15:08:27 +01:00
Joris van de Donk
0bcc88828e
Fixed SFTP not working
...
sftp-server isn't located under `/usr/libexec/` (the directory doesn't exist). It's instead located at `/usr/lib/sftp-server`
2013-12-06 13:32:57 +01:00
Hongli Lai (Phusion)
99306bcfcd
Correctly handle Docker shutdown.
...
When a container is stopped with 'docker stop', SIGTERM is sent to the
init process. Unfortunately neither bash nor runit-init handle that correctly,
so we write our own init system in Python that also waits for all services to
shutdown.
2013-11-12 22:36:55 +01:00
Hongli Lai (Phusion)
16ccc1e40d
Enable cron
2013-11-12 12:34:40 +01:00
Hongli Lai (Phusion)
aee8c8368f
Fix bugs, added README
2013-11-12 11:45:39 +01:00
Hongli Lai (Phusion)
9661f84da9
Initial commit
2013-11-12 11:39:25 +01:00