docker systemctl replacement - allows to deploy to systemd-controlled containers without starting an actual systemd daemon (e.g. centos7, ubuntu16)
European Union Public License 1.2
1.36k
stars
397
forks
source link
Install to Centos6.8 #169
Open
1392273211 opened 10 months ago
I installed to Centos6.8 and wrote a startup script using Python system ctl. py to manage the error Traceback (most recent call last) during startup
File "/usr/bin/systemctl", line 6808, in
Sys. exit (run (command, * modules))
File "/usr/bin/systemctl", line 6564, in run
Exitcode=is Not OK (systemctl. start_modules (* modules))
File "/usr/bin/systemctl", line 2889, in start_ Modules
Return self.start Units (units, init) and found All
File "/usr/bin/systemctl", line 2899, in start_ Units
If not self.start_ Unit:
File "/usr/bin/systemctl", line 2917, in start_ Unit
Return self.start Unit From (conf)
File "/usr/bin/systemctl", line 2932, in start Unit From
Return self.do Start Unit_ From (conf)
File "/usr/bin/systemctl", line 2935, in do Start Unit_ From
Return self.do Start Service_ From (conf)
File "/usr/bin/systemctl", line 3021, in do Start Service_ From
Self. write Status From (conf, MainPID=forkpid)
File "/usr/bin/systemctl", line 1933, in write Status From
Content="{}={} n". format (key, str (value))
ValueError: zero length field name in format