Skip to content

How handle rm in pre-service #409

Answered by mobin-2008
realroot2185 asked this question in Q&A
Discussion options

You must be logged in to vote

You should create a script for bonsaid service which does the remove trick on every startup, Something like this:

#!/bin/sh
/usr/bin/rm -f $XDG_RUNTIME_DIR/bonsai
exec /usr/bin/bonsaid -t $XDG_CONFIG_HOME/sxmo/bonsai_tree.json

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@realroot2185
Comment options

Comment options

You must be logged in to vote
3 replies
@realroot2185
Comment options

@mobin-2008
Comment options

Answer selected by realroot2185
@realroot2185
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants