Skip to content
Snippets Groups Projects
Verified Commit b57d7ad2 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct handling of missing files

parent 380535d2
Branches
No related tags found
No related merge requests found
Pipeline #2879 passed
#!/bin/sh #!/bin/sh
set -eu set -eu
rm /tmp/rtorrent.log mkdir -p /tmp/.session
touch /tmp/rtorrent.log echo > /tmp/rtorrent.log
rm /tmp/.session/rtorrent.lock /tmp/.session/rtorrent.pid rm /tmp/.session/rtorrent.lock /tmp/.session/rtorrent.pid || true
# Start rtorrent as a daemon with the setting in the config file # Start rtorrent as a daemon with the setting in the config file
# & to actually run it in the background # & to actually run it in the background
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment