Skip to content

Commit

Permalink
Merge pull request #180 from 0ln/add-service-safeguards
Browse files Browse the repository at this point in the history
Add service safeguards
  • Loading branch information
tgxn authored Jul 17, 2023
2 parents 8496396 + 0c727fe commit 301337d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/xmm7360.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Requires=multi-user.target systemd-user-sessions.service

[Service]
Type=oneshot
ExecStartPre=/bin/sh -c 'until [ -e "/dev/xmm0" ]; do /usr/bin/sleep 1; done'
ExecStart=/usr/rpc/open_xdatachannel.py -c /etc/xmm7360
RemainAfterExit=yes
TimeoutSec=60

TimeoutSec=300

[Install]
WantedBy=graphical.target

0 comments on commit 301337d

Please sign in to comment.