开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: repeater only setup Ubuntu


 

Well when trying to start I get this:
sudo systemctl start d-rats_repeater.service
Failed to start d-rats_repeater.service: Unit d-rats_repeater.service has a bad unit file setting.
See system logs and 'systemctl status d-rats_repeater.service' for details.
user@host:/home/dratsrepeater/D-Rats$ sudo systemctl status d-rats_repeater.service
○ d-rats_repeater.service
? ? ?Loaded: bad-setting (Reason: Unit d-rats_repeater.service has a bad unit file setting.)
? ? ?Active: inactive (dead)
?
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:74: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:75: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:76: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:77: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:78: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:79: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:82: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:83: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:84: Assignment outside of section. Ignoring.
jul 30 18:39:32 host systemd[1]: /etc/systemd/system/d-rats_repeater.service:85: Assignment outside of section. Ignoring.
user@host:/home/dratsrepeater/D-Rats$?
I created user dratsrepeater with ownership of /home/dratsrepeater/D-Rats? Have tried running daemon (editing d-rats_repeater.service at /etc/systemd/system) from that directory or from /usr/local/bin/ same result?

Have question the d-rats_repeater.service file have user set as root and group set as root. should I set drats_repeter.py to run from /usr/local/bin/ ???

What could be the cause of the error:? bad unit file setting?

Thanks in advance! I think I might have several problems but adjusting one by one maybe I could get it to start.

73'

Edfel


Join [email protected] to automatically receive all group messages.