init
This commit is contained in:
7
init/openrc/gzw-eac-fix.desktop
Normal file
7
init/openrc/gzw-eac-fix.desktop
Normal file
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GZW EAC Fix Watcher
|
||||
Comment=Watches for Gray Zone Warfare updates and applies EAC cache fix
|
||||
Exec=@@INSTALL_DIR@@/watch.sh
|
||||
Terminal=false
|
||||
X-GNOME-Autostart-enabled=true
|
||||
2
init/runit/log/run
Normal file
2
init/runit/log/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec svlogd -tt @@INSTALL_DIR@@/log
|
||||
2
init/runit/run
Normal file
2
init/runit/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec @@INSTALL_DIR@@/watch.sh
|
||||
2
init/s6/run
Normal file
2
init/s6/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/execlineb -P
|
||||
@@INSTALL_DIR@@/watch.sh
|
||||
8
init/systemd/gzw-eac-fix.path
Normal file
8
init/systemd/gzw-eac-fix.path
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Watch for Gray Zone Warfare updates
|
||||
|
||||
[Path]
|
||||
PathChanged=@@MANIFEST_PATH@@
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
10
init/systemd/gzw-eac-fix.service
Normal file
10
init/systemd/gzw-eac-fix.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=GZW EAC fix - post-update cache patch
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@@INSTALL_DIR@@/fix.sh
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
Reference in New Issue
Block a user