{"id":13961629,"url":"https://github.com/vy/swank-daemon","last_synced_at":"2025-02-26T19:30:56.683Z","repository":{"id":66767027,"uuid":"509476","full_name":"vy/swank-daemon","owner":"vy","description":"Collection of utility scripts to daemonize swank under GNU screen at system startup.","archived":false,"fork":false,"pushed_at":"2010-02-09T13:10:38.000Z","size":80,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T13:19:46.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vy.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-02-09T13:10:23.000Z","updated_at":"2019-06-22T18:13:20.000Z","dependencies_parsed_at":"2023-02-20T10:55:14.910Z","dependency_job_id":null,"html_url":"https://github.com/vy/swank-daemon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fswank-daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fswank-daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fswank-daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fswank-daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vy","download_url":"https://codeload.github.com/vy/swank-daemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842574,"owners_count":16556532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-08T17:01:18.992Z","updated_at":"2024-10-15T23:21:46.432Z","avatar_url":"https://github.com/vy.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\n     ______     __     __     ______     __   __     __  __\n    /\\  ___\\   /\\ \\  _ \\ \\   /\\  __ \\   /\\ \"-.\\ \\   /\\ \\/ /\n    \\ \\___  \\  \\ \\ \\/ \".\\ \\  \\ \\  __ \\  \\ \\ \\-.  \\  \\ \\  _\"-.\n     \\/\\_____\\  \\ \\__/\".~\\_\\  \\ \\_\\ \\_\\  \\ \\_\\\\\"\\_\\  \\ \\_\\ \\_\\\n      \\/_____/   \\/_/   \\/_/   \\/_/\\/_/   \\/_/ \\/_/   \\/_/\\/_/\n          _____     ______     ______     __    __     ______     __   __\n         /\\  __-.  /\\  __ \\   /\\  ___\\   /\\ \"-./  \\   /\\  __ \\   /\\ \"-.\\ \\\n         \\ \\ \\/\\ \\ \\ \\  __ \\  \\ \\  __\\   \\ \\ \\-./\\ \\  \\ \\ \\/\\ \\  \\ \\ \\-.  \\\n          \\ \\____-  \\ \\_\\ \\_\\  \\ \\_____\\  \\ \\_\\ \\ \\_\\  \\ \\_____\\  \\ \\_\\\\\"\\_\\\n           \\/____/   \\/_/\\/_/   \\/_____/   \\/_/  \\/_/   \\/_____/   \\/_/ \\/_/\n\n_____________________________________________________________.           .______\n                                                             | A B O U T |\n                                                             `-----------'\n\nswank-daemon supplies a small collection of utility scripts to daemonize\nswank[1] under GNU screen[2] at system startup.\n\nPay attention that \"swank-start.lisp\" script will try to stop swank via killing\nthe parent screen process. To avoid any kind of corruption, you may want to\nestablish some sort of communication system by using interrupts specific to your\nlisp implementation.\n\n[1] http://common-lisp.net/project/slime/\n[2] http://www.gnu.org/software/screen/\n\n_______________________________________________.                         .______\n                                               | I N S T A L L A T I O N |\n                                               `-------------------------'\n\nFirst of all, you may want to check swank-start.lisp if it really starts swank\nsuccessfully in your lisp implementation. Otherwise you may need to make extra\nmodifications.\n\n- Create a new user for the swank process.\n\n  $ useradd useradd --comment \"swank user\" \\\n  \u003e                 --home /var/swank      \\\n  \u003e                 --gid nogroup          \\\n  \u003e                 --shell /bin/bash swank\n  $ mkdir /var/swank                            # See \"swank.sh\" for \"SWANK_HOME\".\n  $ chown swank:root /var/swank\n\n- Copy files to appropriate locations\n\n  $ cp /path/to/swank.sh /etc/init.d\n  $ chmod 755 /etc/init.d/swank.sh\n  $ chown root:root /etc/init.d/swank.sh\n\n  $ cd /etc/rc2.d                               # Optional.\n  $ ln -s ../init.d/swank.sh S90swank.sh        # Optional.\n\n  $ cp /path/to/swank-start.lisp /var/swank\n  $ chown root:root /var/swank/swank-start.lisp\n\n- Don't forget to edit swank.sh suitable to your needs.\n\n- Make a test run.\n\n  $ /etc/init.d/swank.sh start\n  $ netstat -plunt                              # See if it's alive.\n  $ screen -r \"`cat /var/swank/screen-\u003cPORT\u003e`\"  # Don't forget to replace \u003cPORT\u003e.\n\n  # Looks ok? Then detach it via \"C-a z\".\n  $ /etc/init.d/swank.sh stop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvy%2Fswank-daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvy%2Fswank-daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvy%2Fswank-daemon/lists"}