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