3
2
Fork
You've already forked timecheck
5

directories #24

Open
opened 2020年06月19日 15:42:45 +02:00 by jonas-l · 0 comments
Contributor
Copy link

Currently, everything is put to /opt, however I would do it differently:

  • put the script(s) to /usr/share/timecheck
  • save the config at /etc/timecheck
  • save the status at /var/lib/timecheck
  • symlink the config script to /usr/bin

Then I would make the paths configurable as shell script parameters but with these defaults (and with only these defaults allowed when using the install script)

Negative aspects:

  • limited flexibility

Positive aspects:

  • easier to make e.g. a systemd service config file
  • easier to detect if already installed
  • easier to uninstall automatically
Currently, everything is put to /opt, however I would do it differently: - put the script(s) to ``/usr/share/timecheck`` - save the config at ``/etc/timecheck`` - save the status at ``/var/lib/timecheck`` - symlink the config script to ``/usr/bin`` Then I would make the paths configurable as shell script parameters but with these defaults (and with only these defaults allowed when using the install script) Negative aspects: - limited flexibility Positive aspects: - easier to make e.g. a systemd service config file - easier to detect if already installed - easier to uninstall automatically
Sign in to join this conversation.
No Branch/Tag specified
master
testing
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nuron/timecheck#24
Reference in a new issue
nuron/timecheck
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?