You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,14 @@ A simple factorio init script for linux
5
5
If you find yourself wondering why stuff is not working the way you expect:
6
6
- Check the logs, I suggest you `tail -f /opt/factorio/factorio-current.log` in a separate session
7
7
- Enable debugging in the config and/or:
8
-
- Try running the same commands as the factorio user
8
+
- Try running the same commands as the factorio user (`/opt/factorio-init/factorio invocation` will tell you what the factorio user tries to run at start)
9
9
10
10
```bash
11
-
$ cd'/opt/factorio-init'
12
-
$ source ./config # Grab the config variables
13
-
$ echo$INVOCATION# Does this look correct to you?
14
-
$ $INVOCATION#Start the server, watch the log output for any Errors
11
+
$ /opt/factorio-init invocation
12
+
# Run this as the factorio user, example:
13
+
$ sudo -u factorio 'whatever invocation gave you'
14
+
# You should see some output in your terminal here, hopefully giving
15
+
# you a hint of what is going wrong
15
16
```
16
17
17
18
# Install
@@ -46,16 +47,11 @@ A simple factorio init script for linux
0 commit comments