fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.7K
active users

#execstart

0 posts0 participants0 posts today
adingbatponder<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whydoesnothingwork" class="u-url mention">@<span>whydoesnothingwork</span></a></span> Thanks 🙏 Really good clear useful video of how modules are needed / used in <a href="https://fosstodon.org/tags/nixos" class="mention hashtag" rel="tag">#<span>nixos</span></a> with the <a href="https://fosstodon.org/tags/configurationdotnix" class="mention hashtag" rel="tag">#<span>configurationdotnix</span></a> to set ( <a href="https://fosstodon.org/tags/port" class="mention hashtag" rel="tag">#<span>port</span></a> <a href="https://fosstodon.org/tags/ipaddress" class="mention hashtag" rel="tag">#<span>ipaddress</span></a> etc. ) parameters using <a href="https://fosstodon.org/tags/execstart" class="mention hashtag" rel="tag">#<span>execstart</span></a> and <a href="https://fosstodon.org/tags/systemd" class="mention hashtag" rel="tag">#<span>systemd</span></a> for an application / <a href="https://fosstodon.org/tags/package" class="mention hashtag" rel="tag">#<span>package</span></a> <a href="https://fosstodon.org/tags/clouddns" class="mention hashtag" rel="tag">#<span>clouddns</span></a> providing a <a href="https://fosstodon.org/tags/service" class="mention hashtag" rel="tag">#<span>service</span></a> .</p>
Dennis Faucher :donor: :mastodon:<p>TIL: If your /var/ partition fills up completely with <a href="https://infosec.exchange/tags/Docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Docker</span></a> images, you can use a different mount point for Docker data. Just change this line in /lib/systemd/system/docker.service (after stopping docker, and rsyncing all /var/lib/docker contents over)</p><p>ExecStart=/usr/bin/dockerd --data-root /media/dennis/64GB_SD_EXT4/docker -H fd:// --containerd=/run/containerd/containerd.sock</p><p><a href="https://infosec.exchange/tags/ExecStart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ExecStart</span></a>=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock </p><p>I ran into this issue with my <a href="https://infosec.exchange/tags/NVIDIA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NVIDIA</span></a> Xavier whose root disk starts with only 11GB free.</p>
Liam Iwakura<span class="h-card"><a class="u-url mention" href="https://freespeechextremist.com/users/p" rel="nofollow noopener" target="_blank">@<span>p</span></a></span> <span class="h-card"><a class="u-url mention" href="https://bae.st/users/sjw" rel="nofollow noopener" target="_blank">@<span>sjw</span></a></span> <span class="h-card"><a class="u-url mention" href="https://shitposter.club/users/Moon" rel="nofollow noopener" target="_blank">@<span>Moon</span></a></span> <span class="h-card"><a class="u-url mention" href="https://poa.st/users/graf" rel="nofollow noopener" target="_blank">@<span>graf</span></a></span><p>seeing how simple that is, a "nice" systemd user unit script I made is a tangled mess &gt;contains a link to stack overflow because I still don't know how the hell certain lines are supposed to work</p><pre><code># ~/.config/systemd/user/minecraft@.service # Setup: # loginctl enable-linger "${USER}" # systemctl --user daemon-reload # systemctl --user enable --now minecraft@'-var-minecraft-my\x2dsmp'.service [Unit] Description=Minecraft Server (%I) After=network.target [Service] Type=simple WorkingDirectory=%I KillSignal=SIGINT <a class="hashtag" href="https://shitposter.club/tag/execstart" rel="nofollow noopener" target="_blank">#ExecStart</a>=sh <a href="http://start.sh" rel="nofollow noopener" target="_blank">start.sh</a> ExecStart=java -jar server.jar SuccessExitStatus=INT SIGINT 130 # <a href="https://serverfault.com/a/800631/175102" rel="nofollow noopener" target="_blank">https://serverfault.com/a/800631/175102</a> Restart=always RestartSec=90 StartLimitIntervalSec=400 StartLimitBurst=3 [Install] WantedBy=default.target</code></pre><p>&gt;all this just so that I can have the logs stored in a corruptible binary format</p>