Skip to content

Commit

Permalink
chore: more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierChanth committed Jan 4, 2024
1 parent 3fc2ee7 commit 0d304ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/sshnoports/bundles/shell/systemd/sshnpd.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ Requisite=sshd.service
# Requires=sshd.service

[Service]
# TODO : set username
User=<username>
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 <device_name> -v

[Install]
Expand Down
6 changes: 6 additions & 0 deletions packages/sshnoports/bundles/shell/systemd/sshrvd.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ Description=Ssh No Ports Rendezvous Daemon
After=network-online.target

[Service]
# TODO : set username
User=<username>
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 <internet_address>

[Install]
Expand Down

0 comments on commit 0d304ae

Please sign in to comment.