Bad systemd configuration...
Bad systemd configuration file
- Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- Bad systemd configuration file
- Community Forum
- Bad systemd configuration file
Topic: Bad systemd configuration file
Hi everyone,I'm not able to run dynuiuc as system service due to an invalid configuration file ( That's what I suppose) but I'm really new with Linux and I do not how to fix it, even if I made some research hours. Can anyone help me, please?File: /usr/lib/systemd/system/dynuiuc.servicecontent: [Unit]Description=Dynu IP update client daemon[Service]Type=forkingPIDFile=/var/run/dynuiuc.pidExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file run/dynuiuc.pid --daemonExecReload=/bin/kill -HUP $MAINPID[Install]WantedBy=multi-user.target________________________________________________________________________error when executing: systemctl status dynuiuc.servicesystemd[1]: /usr/lib/systemd/system/dynuiuc.service:9: Unknown lvalue '--log_file' in section 'Service'systemd[1]: /usr/lib/systemd/system/dynuiuc.service:10: Unknown lvalue '--pid_file' in section 'Service'systemd[1]: /usr/lib/systemd/system/dynuiuc.service:11: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.
Reply with quote | Report
after several trys I realized that ExecStart=/usr/bin/dynuiuc--conf_file /etc/dynuiuc/dynuiuc.conf--log_file /var/log/dynuiuc.log--pid_file run/dynuiuc.pid--daemon has to be in the same line , like this:ExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file run/dynuiuc.pid --daemonI hope this can help someone
Reply with quote | Report
Author | Topic: Bad systemd configuration file |
---|---|
rince1990 Joined: 7/23/2018 |
Bad systemd configuration file Monday, September 10, 2018 1:49 PM
Hi everyone,I'm not able to run dynuiuc as system service due to an invalid configuration file ( That's what I suppose) but I'm really new with Linux and I do not how to fix it, even if I made some research hours. Can anyone help me, please?File: /usr/lib/systemd/system/dynuiuc.servicecontent: [Unit]Description=Dynu IP update client daemon[Service]Type=forkingPIDFile=/var/run/dynuiuc.pidExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file run/dynuiuc.pid --daemonExecReload=/bin/kill -HUP $MAINPID[Install]WantedBy=multi-user.target________________________________________________________________________error when executing: systemctl status dynuiuc.servicesystemd[1]: /usr/lib/systemd/system/dynuiuc.service:9: Unknown lvalue '--log_file' in section 'Service'systemd[1]: /usr/lib/systemd/system/dynuiuc.service:10: Unknown lvalue '--pid_file' in section 'Service'systemd[1]: /usr/lib/systemd/system/dynuiuc.service:11: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.systemd[1]: /usr/lib/systemd/system/dynuiuc.service:8: Missing '='.
|
rince1990 Joined: 7/23/2018 |
Bad systemd configuration file Tuesday, September 11, 2018 2:53 PM
after several trys I realized that ExecStart=/usr/bin/dynuiuc--conf_file /etc/dynuiuc/dynuiuc.conf--log_file /var/log/dynuiuc.log--pid_file run/dynuiuc.pid--daemon has to be in the same line , like this:ExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file run/dynuiuc.pid --daemonI hope this can help someone
|
It is currently Saturday, November 16, 2024 6:37 AM US Mountain Standard Time
Saturday, November 16, 2024 6:37 AM