Skip to content

Commit

Permalink
renamed service to just-a-tftp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Harrell committed Nov 19, 2020
1 parent e7406d1 commit 2786aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (p *program) Stop(s service.Service) error {
func main() {
srvConfig = argparse()
svcConfig = &service.Config{
Name: "justatftpd",
DisplayName: "justatftpd",
Description: "justatftpd",
Name: "just-a-tftp",
DisplayName: "just-a-tftp",
Description: "just-a-tftp",
Arguments: strings.Split(fmt.Sprintf("--ro=%s --dir=%s", strconv.FormatBool(srvConfig.Readonly), srvConfig.Directory), " "),
WorkingDirectory: srvConfig.Directory,
Executable: os.Args[0],
Expand Down

0 comments on commit 2786aef

Please sign in to comment.