Hello,

On Fri, Jun 20, 2014 at 04:43:18PM +0200, Ralph Oosterveld wrote:
> >> sudo /etc/init.d/dls start
> /etc/init.d/dls: 66 /etc/init.d/dls: Syntax error: "(" unexpected

seems like your shell does not support bash-like function definitions.
Which shell are you using?

Maybe a workaround: If your distribution also supports systemd, here is
a systemd service file that obsoletes the init script:


[Unit]
Description=Data Logging Service Daemon
Requires=localfs.service
After=localfs.service
After=syslog.target

[Service]
Type=forking
EnvironmentFile=/etc/default/dls
ExecStart=/opt/etherlab/dlsd -n 4096
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target


-- 
Best regards,
Florian

http://etherlab.org
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to