It looks like its creating a new process and going in the background and systemd cant track it anymore, so it thinks that its exited and tries restarting. I took a link Oscar sent, and I saw that there is a systemd service and the Type is set to forking, I think this could solve the problem, they also have an ExecStop line, id set it to ExecStop=fusermount -u %h/googledrive so it will unmount properly whenever you manually stop the service. So try setting Type=forking, and adding the ExecStop line, hopefully this will stop systemd from restarting it when it hasnt actually exited
- 2 Posts
- 40 Comments
I dont think systemd will expand the
~, try replacing theExecStart=/bin/bash ~/.local/bin/ocamlfuseStartup.shline withExecStart=/bin/bash %h/.local/bin/ocamlfuseStartup.sh, this will expand to your home directory, if its still giving a not found error, try runningwhich google-drive-ocamlfusein a terminal and make sure the path is correct
12510198@lemmy.blahaj.zoneto
Linux@programming.dev•Help with systemd (I think)English
16·11 months agoThe 203 error you got is because your script isnt a valid executable, it needs to have a shebang at the top, you can change it to something like this and set the executable bit with
chmod +x <file>#!/usr/bin/env bash google-drive-ocamlfuse ~/googledrivethis tells it to run using bash as the interpreter.
Im not familliar with this google drive software, but im figuring that its exiting with an error code cuz its running as a system service, and $HOME probobly isnt set so
~doesnt expand and the software gets an invalid path.But I recommend using a user service for this, it will run when you login, you should be able to copy the service file you already have into
~/.config/systemd/user/and runsystemctl --user daemon-reloadandsystemctl --user enable startup.service --now, this will enable and start the service in one go.I also recommend adding the following lines under
[]Type=simple Restart=always RestartSec=60idk if the software will exit if it loses network or wifi or anything, but this will have it automatically restart after 60 seconds, should it exit for any reason.
If you need it to run before login, it is possible to do with a system service, but it will need a bit more setup
12510198@lemmy.blahaj.zoneto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Bulk remove trackers (qBit) - how?English
9·1 year agoHeres a python script I made up from just modifying another script I use, it depends on qbittorrent-api, but to use just fill out the connection info and add all the trackers you want to remove in the
TRACKERSarray, I’ve included 2 rarbg trackers just as an example.#!/usr/bin/env python3 import qbittorrentapi import sys TRACKERS = [ "udp://9.rarbg.to:2770/announce", "udp://9.rarbg.me:2730/announce" ] conn_info = dict( host = "qbittorrent.localhost", port = 80, username = "admin", password = "PASSWORD" ) def main (argv, argc): qbt_client = qbittorrentapi.Client(**conn_info) try: qbt_client.auth_log_in() except qbittorrentapi.LoginFailed as e: print(e) return 1 for torrent in qbt_client.torrents_info(): #urls = [] #for tracker in torrent.trackers: #print(tracker) #urls.append(tracker.url) torrent.remove_trackers(urls=TRACKERS) #torrent.add_trackers(urls=TRACKERS) qbt_client.auth_log_out() return 0 if __name__ == "__main__": sys.exit(main(sys.argv, len(sys.argv)))
12510198@lemmy.blahaj.zoneto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•I have tried I2P, here is my take.English
13·1 year agoI use qBittorrent, I have used I2PSnark in the past, and it felt clunky and slow, and it was kinda difficult to use
12510198@lemmy.blahaj.zoneto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Has anyone tried I2P for torrenting? How is it?English
13·1 year agoIve been torrenting on I2P with qBittorrent for a lil while now, its not as fast as the clearnet, the fastest speed down ive ever got so far is 1.7MB/s, and this was on a torrent with loads of seeders. Its possible to increase your tunnel quantity and lower the amount of hops each tunnel has for better performance, but you will have less anonymity with less tunnel length.
But so far its been nice, there is no need to think about NAT/Firewall, as all peers can communicate with each other, but it doesnt have as much content as the clearnet, so I try to cross-seed what I can. But when im torrenting, I try to go I2P-first, and then fallback on the clearnet if I couldnt find what I was looking for.
12510198@lemmy.blahaj.zoneto
Opensource@programming.dev•What's the best Matrix client?English
4·1 year agoI’m using Nheko, I know for sure that it works on Linux, I’m using it on my machine, but on the github it lists MacOS and Widnows in the tags, so I figure they are supported. It’s a native program written in Qt and C++.
12510198@lemmy.blahaj.zoneto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Dutch Court Orders ISP to Block Torrent Site TorrentGalaxyEnglish
9·1 year agoIdk if im allowed to link it here, but for anyone having trouble accessing TG, they offer an onion service on tor, which is gonna be a whole lot harder to block, you can find the link on their official proxy list
12510198@lemmy.blahaj.zoneto
Privacy@programming.dev•Using i2p on Android with Mull and i2pdEnglish
2·1 year agoYou should crosspost this to !i2p@lemmy.world
12510198@lemmy.blahaj.zoneto
Free and Open Source Software@beehaw.org•What is the best FOSS Matrix client?English
5·1 year agoNheko is my favourite client, it uses QT and is written in C++, its lightweight and works well on my machines with low resources, it also respects my system theme
12510198@lemmy.blahaj.zoneto
Free and Open Source Software@beehaw.org•What is the best FOSS Matrix client?English
1·1 year agodeleted by creator
sudo sed -i 's/libalpm.so.14/libalpm.so.15/g' /usr/bin/paru
12510198@lemmy.blahaj.zoneto
Blahaj Lemmy Meta@lemmy.blahaj.zone•Lemmy updated to v0.19.5English
1·1 year agoI made this userscript to put the vote count in comments back beside the vote button because the new one is kind of hard to see, its not the prettiest script (idk much about javascript), but I’ve tested it in Librewolf with Violentmonkey and it does work, hope it helps someone else!
// ==UserScript== // @name New script blahaj.zone // @namespace Violentmonkey Scripts // @match https://lemmy.blahaj.zone/post/* // @grant none // @version 1.0 // @author - // @description 8/24/2024, 3:32:47 PM // @run-at document-idle // ==/UserScript== function main () { var parent_comments = document.getElementsByClassName("comment list-unstyled"); for (var i = 0; i < parent_comments.length; /*i++*/) { /*console.log(i);*/ var comments = parent_comments[i].getElementsByTagName("article"); for (var j = 0; j < comments.length; j++) { var upvote_button = comments[j].getElementsByTagName("button")[1]; if (upvote_button.attributes["vote_count_patched"] != null) { i++; continue; } var post_votes = upvote_button.attributes[2].textContent.split(' ')[0]; upvote_button.append(' ' + String(post_votes)); upvote_button.attributes["vote_count_patched"] = true; i++; } } } /*var mutation = null; var mutation_observer = new MutationObserver(function(m) { mutation = m; console.log("new mutation logged yo");} ); mutation_observer.observe(document, { childList: true, subtree: true }); */ var mutation_observer = new MutationObserver(main); mutation_observer.observe(document, { childList: true, subtree: true}); main();
12510198@lemmy.blahaj.zoneto
Minecraft@lemmy.world•Ok guys what do we think of the new texture?English
9·1 year agoI think it kinda looks like a lollipop
12510198@lemmy.blahaj.zoneto
Tor - The Onion Router@lemmy.ml•Does pointing a ".onion" url to a clearnet site benefit TOR users?English
3·2 years agoI think its just the non-exit nodes that are needed as long as the traffic stays inside the tor network, I dont think an exit node gets involved at all, but I’m not 100% sure
12510198@lemmy.blahaj.zoneto
Tor - The Onion Router@lemmy.ml•Does pointing a ".onion" url to a clearnet site benefit TOR users?English
5·2 years agoI think staying inside the tor network helps reduce the load on exit nodes, which helps all tor users who need to access the clearnet. I think there is even a HTTP header that can be put on the clearnet site that will put a button on the tor browser that tells users that there is a onion available.
What a bunch of cringe edgy antinatalist nonsense. Think about the future, if you don’t have kids, who are we gonna feed to the machine a few decades from now?
I figure that the administrators of your homeserver could see your IP address, I doubt that it would be sent to anyone you are just chatting with.
Ive only had to setup a nvidia system once, so I might be missing some packages, but I think
pacman -Rns nvidia nvidia-utils lib32-nvidia-utilsshould get rid of all of it.





What a shame, I was really excited for this game, I have over 1k hours in MSC, got my license before Steam even had an AI disclosure and had no clue about the hallway paintings. Im definitely not gonna be buying MWC or any other ai generated shovelware