Commit Graph

18 Commits (26afaffb2ca24633c93d99840f554127d31e6ff0)

Author SHA1 Message Date
Matt Katz 514093f429
Update systemd_enable.sh 2022-06-10 12:17:00 -04:00
Bruno Sutic 9329afa932
Add Sven Vowe @nuclearglow as a systemd maintainer 2022-06-03 10:57:42 +02:00
Bruno Sutic 0ad6174ec5
Style fixes 2022-05-30 08:45:23 +02:00
Paul Elliott 3d10915bfa Fix systemd unit install on clean system
If the .config/systemd/user directory did not exist, it would not get
created, as the mkdir command was inside the function
systemd_unit_file() which is piped into the target file. The shell
determined that file could not be created first (as the directory did
not exist), so never called the function.

Signed-off-by: Paul Elliott <paul@niburu.org>
2022-05-18 16:57:29 +01:00
mattkatz 280f9bdffb switch from which to command -v for tmux invoke
command -v is posix and on all systems, which isn't

Of course, this is probably a quibble as anything that has systemd on it
probably has which.
2022-01-20 18:28:17 -05:00
Bruno Sutic 912149820b
Merge pull request #27 from knopki/patch-1
systemd_enable.sh: is_enabled -> is-enabled
2021-12-02 09:01:08 +01:00
Bruno Sutic c02b4ec711
Merge pull request #53 from andydna/andydna
don't overwrite systemd unit file if it already exists
2021-12-02 09:00:17 +01:00
Toni Müller 669c3cfcc3
different tmux installation paths for systemd 2021-12-01 15:16:27 +01:00
kqwyf 4c84c4062f enable user to set the path of tmux-resurrect's save.sh.
replace the hard-coded path by a more elegant one.
2021-04-28 13:58:44 +08:00
andydna f1197ab2d2 don't overwrite systemd unit file if it already exists 2018-11-28 11:11:12 -06:00
neynt 6ed3078f47 Make user systemd dir if it doesn't exist 2017-10-14 11:25:00 -04:00
Sergey Korolev bbe707ec3d systemd_enable.sh: is_enabled -> is-enabled
Typo in systemctl check prevents tmux service to autostart.
2016-09-17 03:23:28 +03:00
Jim Rosser 438e50d54f replaced hardcoded home directory in Systemd ExecStop with HOME variable 2016-01-23 09:39:06 -06:00
Pete Peteches McCabe 328d070787
Removing debug opts. 2016-01-09 16:28:47 +01:00
Pete Peteches McCabe fb52a173b8
Switched to forking to better represent server nature of tmux.
- Also added RestartSec option to fix minor issues with restarts trying to
  start the server before it had fully shutdown.
2016-01-09 16:28:44 +01:00
Pete Peteches McCabe 65d627af30
Removed automatic restore as screwed pane organisation.
- this caused issues with the restore missing some processes and putting
  others in the wrong place.

- I think this may need some work with the tmux-resurrect plugin to fix if auto
  restore is to be used.
2016-01-09 16:28:41 +01:00
Pete Peteches McCabe a9cbf68546
Added defaults for tmux start command variable. 2016-01-09 16:28:40 +01:00
Pete Peteches McCabe 05a4a827e5
initial stab at systemd support for tmux-continuum 2016-01-09 16:28:39 +01:00