21 Feb
2013
21 Feb
'13
11:08 a.m.
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