Created
January 24, 2020 06:57
Revisions
-
stranljip created this gist
Jan 24, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # /etc/systemd/system/screenrunner.service [Service] User=user-to-run-as Type=simple RemainAfterExit=yes ExecStart=/usr/bin/screen -dmS screenname bash -c "/usr/bin/python3 /some/python/script.py" [Install] WantedBy=multi-user.target