Skip to content
Snippets Groups Projects
Commit fa742773 authored by birk's avatar birk
Browse files

added services

parent 10a99103
Branches
No related tags found
Loading
[Unit]
Description=Restart every 2 hours
[Timer]
OnUnitActiveSec=2h
[Install]
WantedBy=timers.target
#!/bin/sh
# /bin/systemctl --user restart player.service
kill -INT $(ps -C python -o pid=)
#!/bin/sh
systemctl --user start player.service
#!/bin/sh
systemctl --user stop player.service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment