New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup with systemd #24
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
This is not an issue as such, but rather something I am trying to setup but without success.
I am trying to use systemd, to have the program run automatically on startup.
I have a inkscape.service file with the following contents.
[Unit]
Description=inkscape-shortcut-manager
After=multi-user.target
[email protected]
`[Service]` `Type=simple` `ExecStart=/usr/bin/python3` /home/[USER]/inkscape-shortcut-manager/main.py `StandardInput=tty-force`
[Install]
WantedBy=multi-user.target
`
I then run,
sudo systemctl enable inkscape.service
sudo systemctl start inkscape-service
But when I run,
sudo systemctl status inkscape.service
I get the following error,
`` Loaded: loaded (/lib/systemd/system/inkscape.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-07-19 22:00:15 CEST; 15s ago
Process: 29376 ExecStart=/usr/bin/python3 /home/[USER]/inkscape-shortcut-manager/main.py (code=exited, status=1/FAILURE)
Main PID: 29376 (code=exited, status=1/FAILURE)
Jul 19 22:00:14 [USER] systemd[1]: Started inkscape-shortcut-manager.
Jul 19 22:00:15 [USER] systemd[1]: inkscape.service: Main process exited, code=exited, status=1/FAILURE
Jul 19 22:00:15 [USER] systemd[1]: inkscape.service: Failed with result 'exit-code'.
I have no clue how to solve this... I am aware that this is not a problem with your program, but I am hoping that you might be able to help me. If not, then feel free to remove the issue.
Cheers!
The text was updated successfully, but these errors were encountered: