diff --git a/gost/gost.service b/gost/gost.service new file mode 100644 index 0000000..06c5b28 --- /dev/null +++ b/gost/gost.service @@ -0,0 +1,15 @@ +[Unit] +Description=gost +After=network-online.target +Wants=network-online.target systemd-networkd-wait-online.service + +[Service] +Type=simple +User=root +Restart=always +RestartSec=5 +DynamicUser=true +ExecStart=/usr/bin/gost -C /etc/gost/config.json + +[Install] +WantedBy=multi-user.target \ No newline at end of file