init
This commit is contained in:
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