Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote
Accepted

How to detach Screen session with a command with Python Fabric

Normally, you wouldn't detach from screen - you would not attach yourself in the first place. From this Stack Overflow answer: -d -m Start screen in "detached" mode. This creates a new session but ...
Mark Henderson's user avatar
1 vote

Restarting nginx&gunicorn without sudo

You can try adding a PolicyKit rule to allow for restarting units without authentication. For example this will allow any user to restart the named services (may need a bit of tweaking): polkit....
Michael Hampton's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible