Bad systemd configuration...
Bad systemd configuration file
- 主页
- 后台控制中心
- 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: 2018/7/23 |
Bad systemd configuration file 2018年9月10日 13:49
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: 2018/7/23 |
Bad systemd configuration file 2018年9月11日 14:53
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 2024年12月20日 3:45 US Mountain Standard Time
2024年12月20日 3:45