21 Feb
2013
21 Feb
'13
1:04 p.m.
On Thu, Feb 21, 2013 at 8:08 AM, Paul Gideon Dann <pdgiddie@gmail.com>wrote:
On Wednesday 20 Feb 2013 23:28:46 Martín Cigorraga wrote:
[Unit] Description=/etc/rc.local Compatibility ConditionPathExists=/etc/rc.local
[Service] Type=forking ExecStart=/etc/rc.local
[Install] WantedBy=default.target Alias=rc-local.service
Wouldn't Type=oneshot (+ optionally RemainAfterExit=true) be more appropriate for a script that is run once at boot? Type=forking should also specify a PIDFile.
Paul
Thank you very much Paul for your observations, I'm gonna fix it!