Replies: 6 comments 3 replies
|
Could you provide your toml config and the content of .service file? |
|
Service file: Config file (/etc/spoofdpi.toml) |
|
@Turab Could you try replacing the value of |
|
I see that you pushed a new version and it seems to have fixed the service issue, while it introduced another one. Now the rules directive broke and it rejects even the copy/paste example from the official documentation. You can see the But in both of them, it produces this error:
|
|
Try the latest release — note that the config attributes match.domain and match.cidr have been renamed to match.domains and match.cidrs. You may also need to tweak your spoofdpi.service file like this: |
|
Now I have changed |
Uh oh!
There was an error while loading. Please reload this page.
The latest version (1.5.1) broke the service.
When run from the shell with just "spoofdpi", it runs with the TOML config just fine.
But when run with "systemctl start spoofdpi" (whose service file has only "spoofdpi" as exec command), it raises this error:
Config file is the same, execution command is the same. Why would it fail as a service while the executable works standalone?
All reactions