Skip to content

Instantly share code, notes, and snippets.

@mxvin
Created February 25, 2018 15:52
Show Gist options
  • Save mxvin/4d8de41d7aec345062947f6f44a8780d to your computer and use it in GitHub Desktop.
Save mxvin/4d8de41d7aec345062947f6f44a8780d to your computer and use it in GitHub Desktop.
tinc cant pass extra args to daemon
YOU RUN TINC ON DEBIAN?! AND CANT FUCKING FIGURE WHY EXTRA ARGS NOT PASS TO SERVICE?!
JUST
PATCH
/lib/systemd/system/tinc.service
SEE ExecStart
AND JUST ADD THAT ARGS AFTER -D (DAEMON)
EX: -R --user=xxx
AND SAVE IT
THEN RELOAD INIT(S) W
SYSTEMCTL DISABLE TINC --- SYSTEMCTL ENABLE TINC
VOILA! BOOM!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment