Bad systemd configuration...
Bad systemd configuration file
- Accueil
- Espace Client
- 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: 23/07/2018 |
Bad systemd configuration file lundi 10 septembre 2018 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: 23/07/2018 |
Bad systemd configuration file mardi 11 septembre 2018 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 dimanche 24 novembre 2024 00:43 US Mountain Standard Time
dimanche 24 novembre 2024 00:43