Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 26, 2018 18:50
Show Gist options
  • Save cleverca22/dda1e895169ccc1b3395204728fefc66 to your computer and use it in GitHub Desktop.
Save cleverca22/dda1e895169ccc1b3395204728fefc66 to your computer and use it in GitHub Desktop.
[Unit]
After=network.target
Description=toxvpn daemon
[Service]
Environment="LOCALE_ARCHIVE=/nix/store/8kw71xqs5bz6s68dylv6y13082zn0023-glibc-locales-2.27/lib/locale/locale-archive"
Environment="PATH=/nix/store/rm8azm6w8b9qj4fp7k6p6ww172hfjxwj-toxvpn-git/bin:/nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/bin:/nix/store/n7km6qpl46bd9lkvf9cvzwv6gks7szls-findutils-4.6.0/bin:/nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/bin:/nix/store/p844gl2lb267aii2jdv5bqx4ph68l25m-gnused-4.4/bin:/nix/store/c5wlvh9g9xxh4wca6l1klj1clxifz9qh-systemd-238/bin:/nix/store/rm8azm6w8b9qj4fp7k6p6ww172hfjxwj-toxvpn-git/sbin:/nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/sbin:/nix/store/n7km6qpl46bd9lkvf9cvzwv6gks7szls-findutils-4.6.0/sbin:/nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/sbin:/nix/store/p844gl2lb267aii2jdv5bqx4ph68l25m-gnused-4.4/sbin:/nix/store/c5wlvh9g9xxh4wca6l1klj1clxifz9qh-systemd-238/sbin"
Environment="TZDIR=/nix/store/1baqg9dabp6jcr1p589mv2xgbgrknly8-tzdata-2018e/share/zoneinfo"
X-RestartIfChanged=false
ExecStart=/nix/store/g51r86xljf613p0q1pg26hxbk1qvm3n3-unit-script/bin/toxvpn-start
ExecStartPre=/nix/store/sy5rgdpzrcbwv0bgajz9j2qc0jbphj27-unit-script/bin/toxvpn-pre-start
KillMode=process
Restart=on-success
Type=notify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment