From 0d304aeb8743a472ed5337903567e39bd24472fb Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Thu, 4 Jan 2024 16:40:03 +0800 Subject: [PATCH] chore: more tweaks --- packages/sshnoports/bundles/shell/systemd/sshnpd.service | 6 ++++++ packages/sshnoports/bundles/shell/systemd/sshrvd.service | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/packages/sshnoports/bundles/shell/systemd/sshnpd.service b/packages/sshnoports/bundles/shell/systemd/sshnpd.service index 7fc0f965e..6a05c8085 100644 --- a/packages/sshnoports/bundles/shell/systemd/sshnpd.service +++ b/packages/sshnoports/bundles/shell/systemd/sshnpd.service @@ -9,10 +9,16 @@ Requisite=sshd.service # Requires=sshd.service [Service] +# TODO : set username User= Type=simple Restart=always RestartSec=3 + +# Uncomment the following line to sleep for 10 seconds before starting up the service +# ExecStartPre=/bin/sleep 10 + +# TODO : set device_atsign, manager_atsign, device_name ExecStart=/usr/local/bin/sshnpd -a <@device_atsign> -m <@manager_atsign> -d -v [Install] diff --git a/packages/sshnoports/bundles/shell/systemd/sshrvd.service b/packages/sshnoports/bundles/shell/systemd/sshrvd.service index 04f9a019f..45aea48d4 100644 --- a/packages/sshnoports/bundles/shell/systemd/sshrvd.service +++ b/packages/sshnoports/bundles/shell/systemd/sshrvd.service @@ -3,10 +3,16 @@ Description=Ssh No Ports Rendezvous Daemon After=network-online.target [Service] +# TODO : set username User= Type=simple Restart=always RestartSec=3 + +# Uncomment the following line to sleep for 10 seconds before starting up the service +# ExecStartPre=/bin/sleep 10 + +# TODO : set atsign, internet_address ExecStart=/usr/local/bin/sshrvd -a <@atsign> -i [Install]