@geekbeer/minion 2.10.1 → 2.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/minion-cli.sh +9 -2
- package/package.json +1 -1
package/minion-cli.sh
CHANGED
|
@@ -336,6 +336,7 @@ After=network.target
|
|
|
336
336
|
[Service]
|
|
337
337
|
Type=oneshot
|
|
338
338
|
User=${TARGET_USER}
|
|
339
|
+
Environment=HOME=/home/${TARGET_USER}
|
|
339
340
|
RemainAfterExit=yes
|
|
340
341
|
ExecStart=/bin/bash -c 'tmux has-session -t main 2>/dev/null || tmux new-session -d -s main; tmux set-option -g mouse on'
|
|
341
342
|
|
|
@@ -398,6 +399,7 @@ Requires=xvfb.service
|
|
|
398
399
|
Type=simple
|
|
399
400
|
User=${TARGET_USER}
|
|
400
401
|
Environment=DISPLAY=:99
|
|
402
|
+
Environment=HOME=/home/${TARGET_USER}
|
|
401
403
|
ExecStart=/usr/bin/fluxbox
|
|
402
404
|
Restart=always
|
|
403
405
|
RestartSec=5
|
|
@@ -416,10 +418,11 @@ After=xvfb.service
|
|
|
416
418
|
Requires=xvfb.service
|
|
417
419
|
|
|
418
420
|
[Service]
|
|
419
|
-
Type=
|
|
421
|
+
Type=simple
|
|
420
422
|
User=${TARGET_USER}
|
|
421
423
|
Environment=DISPLAY=:99
|
|
422
|
-
|
|
424
|
+
Environment=HOME=/home/${TARGET_USER}
|
|
425
|
+
ExecStart=/usr/bin/autocutsel
|
|
423
426
|
Restart=always
|
|
424
427
|
RestartSec=5
|
|
425
428
|
|
|
@@ -439,7 +442,9 @@ Requires=xvfb.service
|
|
|
439
442
|
|
|
440
443
|
[Service]
|
|
441
444
|
Type=simple
|
|
445
|
+
User=${TARGET_USER}
|
|
442
446
|
Environment=DISPLAY=:99
|
|
447
|
+
Environment=HOME=/home/${TARGET_USER}
|
|
443
448
|
ExecStart=/usr/bin/x0vncserver -display :99 -rfbport 5900 -SecurityTypes None -fg
|
|
444
449
|
Restart=always
|
|
445
450
|
RestartSec=5
|
|
@@ -457,7 +462,9 @@ Requires=xvfb.service
|
|
|
457
462
|
|
|
458
463
|
[Service]
|
|
459
464
|
Type=simple
|
|
465
|
+
User=${TARGET_USER}
|
|
460
466
|
Environment=DISPLAY=:99
|
|
467
|
+
Environment=HOME=/home/${TARGET_USER}
|
|
461
468
|
ExecStart=/usr/bin/x11vnc -display :99 -rfbport 5900 -nopw -forever -shared
|
|
462
469
|
Restart=always
|
|
463
470
|
RestartSec=5
|