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

Reply via email to