Skip to content

Launch Weechat or other commands via user systemd upon startup

License

Notifications You must be signed in to change notification settings

jhnphm/systemd_screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

systemd_screen

Launch Weechat or other commands via user systemd upon startup Derived from screen unit file at https://wiki.archlinux.org/index.php/GNU_Screen, but template perameterized for application instead of user

Usage

# Enable lingering user systemd, so user instance of systemd starts on boot instead of login
sudo loginctl enable-linger $USER
 
# Install screen@ service file
mkdir -p ~/.config/systemd/user
cp [email protected] ~/.config/systemd/user

# Enable for weechat
systemctl --user enable [email protected]

# To disable 
systemctl --user disable [email protected]

Notes

  • Probably won't work for commands with parameters/spaces in them
  • Untested w/ multiple commands wit the same autostart screen session.

About

Launch Weechat or other commands via user systemd upon startup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages